Hi,
after changing minimal parts of dietlibc's build procedure, I get as far as cd pkg/dietlibc ; gmake actually doing something but it fails with the following error:
Are these "minimal changes" Linux2BSD-translations only?
... Compiling lib/__v_printf.o LD_PRELOAD=/home/blitz/src/l4/tool/gendep/libgendep.so GENDEP_TARGET=lib/__v_printf.o GENDEP_BINARY=cc1 gcc33 -c -nostdinc -DRAM_BASE=0x0 -DUSE_DIETLIBC=y -DSYSTEM_x86_686 -DARCH_x86 -DCPUTYPE_686 -DL4API_ -I../include -I.. -I../../../idl/OBJ-x86- -I/include -gstabs+ -g -O2 -fno-strict-aliasing -march=i686 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations /home/blitz/src/l4/pkg/dietlibc/lib/dietlibc/lib/__v_printf.c -o lib/__v_printf.o /home/blitz/src/l4/pkg/dietlibc/lib/dietlibc/lib/__v_printf.c:2:20: stdarg.h: No such file or directory In file included from /home/blitz/src/l4/pkg/dietlibc/lib/dietlibc/lib/__v_printf.c:7: ../dietstdio.h:12:20: stdarg.h: No such file or directory In file included from ../dietstdio.h:52, from /home/blitz/src/l4/pkg/dietlibc/lib/dietlibc/lib/__v_printf.c:7: ../include/stdio.h:7:20: stdarg.h: No such file or directory In file included from ../dietstdio.h:52, from /home/blitz/src/l4/pkg/dietlibc/lib/dietlibc/lib/__v_printf.c:7:
Does your BSD/gcc have a stdarg.h ?
If NO: There is a stdarg.h in pkg/dietlibc/lib/contrib/dietlibc/include, but as it is not sym-linked into my dietlibc-directory, I guess it is not used and we rely on the a system-wide stdarg.h instead. Try adding stdarg.h to your contrib_files.lst
If YES: Then something seems to get wrong with your GCCINCDIR build variable. This one (in your output it seems it is /include) should point to the location of stdarg.h. GCCINCDIR is set when you do a "make config" in your L4 directory.
The include directories look bogus, but I am quite puzzled where they come from.
The paths look the same with my version of dietlibc (apart from the GCCINCDIR).
Good luck Bjoern