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]

RE: Problem building a cross-gcc for arm target



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]