This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why is building a cross compiler "out-of-the-box" always broken?
- From: Andrew Haley <aph-gcc at littlepinkcloud dot COM>
- To: David Daney <ddaney at avtrex dot com>
- Cc: "Stephen M. Kenton" <skenton at ou dot edu>, gcc at gcc dot gnu dot org
- Date: Sat, 18 Aug 2007 08:03:46 +0100
- Subject: Re: Why is building a cross compiler "out-of-the-box" always broken?
- References: <46C603EC.4070004@ou.edu> <46C607AC.5030109@avtrex.com>
David Daney writes:
> Stephen M. Kenton wrote:
> > Hello all,
> >
> .
> .
> .
> > I realize that there are various "solutions" for specific
> > platforms. Dan Kegel's excellent crosstool and the cross-lfs website,
> >
> .
> .
> .
> >
> > So, my open questions to the list are, what is/should be the preferred
> > way to bootstrap a cross compiler/glibc environment?
>
> Don't bootstrap.
That's right. Unless you're building a new operating system -- in
which case building the toolchain is the least of your problems -- you
don't need to boostrap. Just point the sysroot at the root filesystem
of your target OS when configuring the cross compiler.
Andrew.