Problem building a cross-gcc for arm target

Yves Rutschle y.rutschle@indigovision.com
Tue Jan 16 09:51:00 GMT 2001


[...]
> 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

You need to give gcc the headers of the library you want to use.
For newlib, I suggest you look the script at:
( http://sources.redhat.com/ml/crossgcc/2000-q4/msg00042.html )

Cheers,
Yves


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list