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: compiling errors on cross-comipler for ARM


> pretoria wrote:
> 
> Dear All:
> 
> The following errors occured while I compiled gcc-2.95.2 target on arm-coff:
> 
> choose-temp.c:29: stdio.h: No such file or directory
> choose-temp.c:30: sys/types.h: No such file or directory
> choose-temp.c:32: unistd.h: No such file or directory
> choose-temp.c:35: stdlib.h: No such file or directory
> choose-temp.c:38: sys/file.h: No such file or directory
> make[2]: *** [choose-temp.o] Error 1
> make[2]: Leaving directory
> `/home/pretoria/arm-built/gcc-2.95.2/arm-coff/libiberty'
> make[1]: *** [all-target-libiberty] Error 2
> make[1]: Leaving directory `/home/pretoria/arm-built/gcc-2.95.2'
> make: *** [cross] Error 2
> The process I installed the cross compiler follows:
> 
Okay, time for some intelligence here. You built a C cross compiler,
but one that ONLY makes standalone programs i.e. you did not build
GLIBC and then go back and rebuild GCC. RTFM.

-Steve

-- 
 Steven J. Hill - Embedded SW Engineer
 Public Key: 'http://www.cotw.com/pubkey.txt'
 FPR1: E124 6E1C AF8E 7802 A815
 FPR2: 7D72 829C 3386 4C4A E17D

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