This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: Problem building gcc as cross compiler for arm-elf



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.



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