Files missing and parse errors - toolchain?
Mon Aug 14 09:24:00 GMT 2006
> glibc is made after gcc being made.
Yes, but he's not building glibc, he's building something else, some
make: Entering directory `/home/satvika/stareast/snapgear/snapgear/lib/libnet'
arm-linux-gcc -mbig-endian -O2 -fno-builtin -DEMBED -nostdinc -I/home/satvika/stareast/snapgear/snapgear/lib/glibc/build/include -I/home/satvika/stareast/snapgear/snapgear -Dlinux -D__linux__ -Dunix -I/home/satvika/stareast/snapgear/snapgear/linux-2.4.x/include -idirafter /opt/crosstool/gcc-3.4.4-glibc-2.3.3/armeb-linux/lib/gcc/armeb-linux/3.4.4//include -DL_openraw -o openraw.o -c net.c
net.c:12:19: stdio.h: No such file or directory
net.c:13:20: unistd.h: No such file or directory
net.c:14:20: stdlib.h: No such file or directory
As you can see, the snapgear Makefile defines -nostdinc, and that causes
the proper glibc headers to be missed. I guess snapgear needs to define
its own headers, but fails to find them, or something else is wrong.
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc