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



Doh!  lets go back to your original message:

> Headerfiles for target: 
> ====================== 
> ls  /usr/local/arm-elf/sys-include
>
> assert.h  ctype.h  errno.h  float.h  iso646.h  limits.h  locale.h  math.h 
> setjmp.h  signal.h  stdarg.h  stddef.h  stdio.h  stdlib.h  string.h  
> time.h  varargs.h 

You need more than this.  There needs to be a subdirectory sys in here 
containing, at least types.h.

Where did you get your header files from?
  
Richard.

> 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
> 
> 
> 
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Dear Richard,
> <p>I am sorry, but I tried it out and found that the problem
> <br>is still there.
> <p>The option --with-headers=&lt;path-to-header-files> just
> <br>copied the header files from the given path into
> <br>/usr/local/arm-elf/sys-include.
> <p>This is the place where I had them before, already.
> <br>I just moved them into an other directory so that I could
> <br>follow your advice.
> <p>The Build Procedure is the same otherwise and also
> <br>stops at the same place with the same error message.
> <br>&nbsp;
> <br>&nbsp;
> <p>Best Regards
> <br>Hermann
> <br>&nbsp;
> <br>&nbsp;
> <p>Richard Earnshaw wrote:
> <blockquote TYPE=CITE>hermann.danne@ulm.siemens.de said:
> <br>> I ran into problems when building the gnu cross compiler&nbsp; (gcc-2.95.2)
> <br>> for target arm-elf. System header had been installed&nbsp; at the
> proper
> <br>> place but at least one of these files could not be found&nbsp; (see
> end of
> <br>> make.log). I found the same problem when trying to build&nbsp; the
> cross
> <br>> compiler on a Sun (Generic_105181-05).&nbsp; Is there a fix for this
> <br>> problem already available?
> <p>> /usr/local/user/danneh/ftp/gcc > ../gcc-2.95.2/configure --target=arm-elf
> <p>You have missed out the --with-headers=&lt;path-to-header-files> option.
> <br>Without this gcc will be unable to find the header files needed to
> build
> <br>the support libraries.&nbsp; See the documentation for more details.
> <p>R.</blockquote>
> 
> <pre>--&nbsp;
> Hermann Danne&nbsp;
> SIEMENS AG
> ICM CD MP RD Ulm 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> Lise-Meitner-Strasse 5
> 89081 Ulm
> Tel.: +49 731 9533 568
> Email: hermann.danne@ulm.siemens.de</pre>
> &nbsp;</html>
> 



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