L4Linux without libloader?

Martin Pohlack mp26 at os.inf.tu-dresden.de
Thu Mar 23 18:56:11 CET 2006


Hi Daniel,

> I only removed the switches and libc. This is the L4LIBS entry:
> 
>>L4LIBS	= -L$(L4DIR)/lib/$(L4_MK_ARCH)_$(L4_MK_CPU)/$(L4_MK_API) \
>>		  -L$(L4DIR)/lib/$(L4_MK_ARCH)_$(L4_MK_CPU) \
>>		  -L$(L4DIR)/lib \
>>		  -T/home/l4dir/lib/x86_586/main_stat.ld \
>>		    -lsemaphore.p \
>>		    -lthread.p \
>>		    -ldm_generic.p \
>>		    -ldm_mem.p \
>>		    -lslab.p \
>>		    -ll4env_err.p \
>>		    -ll4rm.p \
>>		    -ll4env_loaderruntime.p \
>>		    -llogserver.p \
>>		    -lnames.p \
>>		    -lroot.o.p \
>>		  -lc_be_l4env_start_stop.p	\
>>		  -lc_be_minimal_log_io.p	\
>>		  -lc_be_simple_mem.p		\
>>		  -lc_be_mmap.p			\
>>		  -lc_be_mmap_util.p \
>>		    -lgeneric_ts.p \
>>		    $(GCCLIB)

I don't think this is enough.  Some of these libs have cyclic
dependencies (e.g. , c_be_* may call log_*).

I assume you want something similar to a l4env-mode.  Have a look into
l4/mk/modes.inc.  Mode specific lib sets are defined there.  You will
have to specify some libs several times or use the cycle switches again.

Cheers,
Martin




More information about the l4-hackers mailing list