This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hello, I am trying to build a cross-compiler for an ARM target but I have some problems. Configuring, building and installing binutils (binutils-2.10) doesn't give me any problem, but building gcc (gcc-2.95.2) end with the following error message: ... make[1]: Entering directory `/root/mytmp/tmpgcc/arm elf/libiberty' test x"no" != xyes || \ /root/mytmp/tmp-gcc/gcc/xgcc -B/root/mytmp/tmp-gcc/gcc/ - B/tools/arm-elf/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc- 2.95.2/libiberty/../include ../.. /../gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o /root/mytmp/tmp-gcc/gcc/xgcc -B/root/mytmp/tmp-gcc/gcc/ - B/tools/arm-elf/bin/ -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc- 2.95.2/libiberty/../include ../../.. /gcc-2.95.2/libiberty/choose-temp.c../../../gcc- 2.95.2/libiberty/choose-temp.c:29: stdio.h: No such file or directory ../../../gcc-2.95.2/libiberty/choose-temp.c:30: sys/types.h: No such file or directory ../../../gcc-2.95.2/libiberty/choose-temp.c:32: unistd.h: No such file or directory ../../../gcc-2.95.2/libiberty/choose-temp.c:35: stdlib.h: No such file or directory ../../../gcc-2.95.2/libiberty/choose-temp.c:38: sys/file.h: No such file or directory make[1]: *** [choose-temp.o] Error 1 make[1]: Leaving directory `/root/mytmp/tmp-gcc/arm- elf/libiberty'make: *** [all-target-libiberty] Error 2 root ~/mytmp I'm trying to build the cross-compiler in the /tools/bin directory and I added it to the PATH. I saw in the list of FAQ that someone else had a similar problem and the suggested solution was to configure the cross gcc with the option: --with-headers=/root/mytmp/newlib-1.8.2/newlib/libc/include But I tried it without any good news. Can anyone suggest something else to go on? Thanks in advance to every good guy that will save my work and my patience! Igor. ----------------------------------------------------------- BlueWind Electronic Design I-31033 Castelfranco Veneto (TREVISO) Via Steffani 7/B ----------------------------------------------------------- VOICE +39 0 423 723431 FAX +39 0 423 744738 MOBILE +39 335 7298820 (MOBILE +39 349 7787328) mailto:igor@bluewind.it http://www.bluewind.it ---------------------------------------- ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |