This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with ARM cross compiler
- From: Brian Drummond <brian at shapes dot demon dot co dot uk>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 19 Dec 2013 09:23:50 +0000
- Subject: Re: Problem with ARM cross compiler
- Authentication-results: sourceware.org; auth=none
- References: <CANc4vhpyAx2o4AdhBNdpwzY_W+A+ut4eT2qvBKTZdYPQ-HnsHg at mail dot gmail dot com> <E2849842-7A7D-46C3-932D-85D369DE6E24 at kugelworks dot com> <52B2AB3A dot 3030501 at wippies dot com>
- Reply-to: brian at shapes dot demon dot co dot uk
On Thu, 2013-12-19 at 10:15 +0200, Kai Ruottu wrote:
> 19.12.2013 2:15, Maxim Kuvyrkov kirjoitti:
> > On 19/12/2013, at 7:59 am, Hendrik Greving<hendrik.greving.intel@gmail.com> wrote:
> >
> >> I am compiling (trying to) ARM cross compiler (on x86):
> >>
> >>
> > ...
> >> conftest.c:15:19: fatal error: stdio.h: No such file or directory
> >>
> >>
> >> Any help/hint appreciated,
> > You don't have cross-built C library installed. Building a cross toolchain from scratch is an intricate process, it is not building just the compiler, you also need bintutils, C library headers and C library itself.
>
> I have never fully understood why the "totally from scratch target" is
> the first many people are trying
> when there are existing targets for crosstoolchains. My own '$sysroot's
> for the 'arm*-linux-gnueabi'
> targets in my laptop are :
>
> host-arm-angstrom-linux-gnueabi:
> host-arm-cs2009-linux-gnueabi:
> host-arm-cs2011-linux-gnueabi:
and many others...
How many of those are comprehensive toolchains, and how many omit bits
of gcc, like Ada or Fortran for example?
- Brian