gcc build fails

abhijeet tripathi abhijeet.tripathy@yahoo.co.in
Mon Nov 23 12:11:00 GMT 2009


Hello,

I am trying to build a toolchain for my arm1176 base-board but first phase build of gcc fails with following error:

======
nux-toolchain//arm-none-linux-gnueabi/include -isystem /opt/arm-linux-toolchain//arm-none-linux-gnueabi/sys-include -g -O2 -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition  -isystem ./include  -fPIC -Wno-missing-prototypes -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include  -DHAVE_CC_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../libgcc/../gcc/libgcc2.c \

In file included from ../../../libgcc/../gcc/libgcc2.c:29:
../../../libgcc/../gcc/tsystem.h:87:19: error: stdio.h: No such file or directory
../../../libgcc/../gcc/tsystem.h:90:23: error: sys/types.h: No such file or directory
../../../libgcc/../gcc/tsystem.h:93:19: error: errno.h: No such file or directory
../../../libgcc/../gcc/tsystem.h:100:20: error: string.h: No such file or directory
../../../libgcc/../gcc/tsystem.h:101:20: error: stdlib.h: No such file or directory
../../../libgcc/../gcc/tsystem.h:102:20: error: unistd.h: No such file or directory
../../../libgcc/../gcc/tsystem.h:108:18: error: time.h: No such file or directory
make[2]: *** [_muldi3.o] Error 1
make[2]: Leaving directory `/home/abhijeet/IHR/Toolchain/gcc-4.4.1/arm-linux/arm-none-linux-gnueabi/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/abhijeet/IHR/Toolchain/gcc-4.4.1/arm-linux'
make: *** [all] Error 2
======

I am using the below config lines:

=====
../configure --target=arm-none-linux-gnueabi --disable-shared --disable-threads --prefix=/opt/arm-linux-toolchain/--with-headers=/home/abhijeet/IHR/kernel_src/linux-2.6-stable/include/ --with-gnu-as --with-gnu-ld --enable-multilib --enable-languages=c --enable-cross --enable-__cxa_atexit --enable-c99 --disable-libmudflap --disable-libssp --disable-libgomp --enable-symvers=gnu --with-numa-policy=yes --with-arch=armv6j --with-cpu=arm1176jzf-s --with-tune=arm1176jzf-s --with-fpu=vfp --with-float=softfp --with-gmp=/opt/arm-linux-toolchain/ --with-mpfr=/opt/arm-linux-toolchain/
=====

Best regards,

Abhijeet Tripathi
Email: abhijeet.tripathy@yahoo.co.in 


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list