glibc cvs and crosstools
Dara Hazeghi
dhazeghi@yahoo.com
Tue Aug 19 01:20:00 GMT 2003
Hi,
using the latest crosstools with the latest glibc from
cvs, I've hit a little snafu. When building libgcc
(the first time) on any target, I get:
/tmp/mainline/objdir/gcc/xgcc
-B/tmp/mainline/objdir/gcc/
-B/tmp/dara/x86_64-linux//x86_64-linux/bin/
-B/tmp/dara/x86_64-linux//x86_64-linux/lib/ -isystem
/tmp/dara/x86_64-linux//x86_64-linux/include -isystem
/tmp/dara/x86_64-linux//x86_64-linux/sys-include -O2
-DIN_GCC -DCROSS_COMPILE -DNATIVE_CROSS -W -Wall
-Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/config -I../../gcc/gcc/../include
-g0 -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -fno-omit-frame-pointer
-fno-asynchronous-unwind-tables \
-c ../../gcc/gcc/crtstuff.c -DCRT_END \
-o crtend.o
In file included from ../../gcc/gcc/tsystem.h:75,
from ../../gcc/gcc/crtstuff.c:62:
/tmp/dara/x86_64-linux//x86_64-linux/include/stdio.h:138:28:
bits/stdio_lim.h: No such file or directory
(this happens for other targets too). Solution is
to...
cp bits/stdio_lim.h $PREFIX/$TARGET/include/bits
after the initial glibc header installation.
Cheers,
Dara
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list