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


Dear Richard,

I am sorry, but I tried it out and found that the problem
is still there.

The option --with-headers=<path-to-header-files> just
copied the header files from the given path into
/usr/local/arm-elf/sys-include.

This is the place where I had them before, already.
I just moved them into an other directory so that I could
follow your advice.

The Build Procedure is the same otherwise and also
stops at the same place with the same error message.
 
 

Best Regards
Hermann
 
 

Richard Earnshaw wrote:

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.

-- 
Hermann Danne 
SIEMENS AG
ICM CD MP RD Ulm 5                            
Lise-Meitner-Strasse 5
89081 Ulm
Tel.: +49 731 9533 568
Email: hermann.danne@ulm.siemens.de
 
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]