Building binaries for L4Linux with IPC

Tiago Jorge tjpj at
Wed May 18 23:18:49 CEST 2005

>Simple answer, that's a bug in the build system. It is using gcc for
>linking (see above) which is wrong for c++ as they need some libs that
>gcc does not consider. The following should work:
>Index: mk/
>RCS file: /home/cvs/l4/mk/,v
>retrieving revision 1.19
>diff -u -r1.19
>--- mk/	11 Oct 2004 12:12:28 -0000	1.19
>+++ mk/	18 May 2005 21:01:36 -0000
>@@ -95,9 +95,15 @@
> DEPS	+= $(foreach file,$(TARGET), $(dir $(file)).$(notdir $(file)).d)
>+# Link C++ programs with g++ (esp. in l4linux mode)
>+ifneq ($(SRC_CC),)
>-	$(VERBOSE)$(call MAKEDEP,$(INT_LD_NAME)) $(CC) -o $@ $(CRT0) $(OBJS) $(LDFLAGS) $(CRTN)
> endif	# architecture is defined, really build
ok... thanks for the patch...
In the meanwhile i've hammered a solution... linking with the libstdc++ 
works out... the problem it was that i didn't noticed that i wasn't 
running the program in L4Linux... thats the problem of working on the 
deadline :).
But the patch is cool, so that people can develop code to use my server 
without the need to know the libstdc++ port to L4.


More information about the l4-hackers mailing list