This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problem building gcc as cross compiler for arm-elf
- To: Hermann Danne <hermann dot danne at ulm dot siemens dot de>
- Subject: Re: Problem building gcc as cross compiler for arm-elf
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Thu, 24 Aug 2000 13:51:06 +0100
- Cc: gcc-bugs at gcc dot gnu dot org, Westmeier Stefan <Stefan dot Westmeier at ulm dot siemens dot de>, Kempter Christian <Christian dot Kempter at ulm dot siemens dot de>
- Cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
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=<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>
> <br>
> <p>Best Regards
> <br>Hermann
> <br>
> <br>
> <p>Richard Earnshaw wrote:
> <blockquote TYPE=CITE>hermann.danne@ulm.siemens.de said:
> <br>> I ran into problems when building the gnu cross compiler (gcc-2.95.2)
> <br>> for target arm-elf. System header had been installed at the
> proper
> <br>> place but at least one of these files could not be found (see
> end of
> <br>> make.log). I found the same problem when trying to build the
> cross
> <br>> compiler on a Sun (Generic_105181-05). 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=<path-to-header-files> option.
> <br>Without this gcc will be unable to find the header files needed to
> build
> <br>the support libraries. See the documentation for more details.
> <p>R.</blockquote>
>
> <pre>--
> 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</pre>
> </html>
>