Problem building gcc as cross compiler for arm-elf

Richard Earnshaw rearnsha@arm.com
Thu Aug 24 03:44:00 GMT 2000


hermann.danne@ulm.siemens.de said:
> I ran into problems when building the gnu cross compiler  (gcc-2.95.2)
> for target arm-elf. System header had been installed  at the proper
> place but at least one of these files could not be found  (see end of
> make.log). I found the same problem when trying to build  the cross
> compiler on a Sun (Generic_105181-05).  Is there a fix for this
> problem already available?  

> /usr/local/user/danneh/ftp/gcc > ../gcc-2.95.2/configure --target=arm-elf 


You have missed out the --with-headers=<path-to-header-files> option. 
Without this gcc will be unable to find the header files needed to build 
the support libraries.  See the documentation for more details.

R.




More information about the Gcc-bugs mailing list