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: David Daney <ddaney at avtrex dot com>
- To: "Stephen M. Kenton" <skenton at ou dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 17 Aug 2007 13:40:12 -0700
- Subject: Re: Why is building a cross compiler "out-of-the-box" always broken?
- References: <46C603EC.4070004@ou.edu>
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.
Use one of Kegal's crosstool or the cross-lfs instructions exactly once.
Then keep a good build of glibc around for future build cycles.
That way you never bootstrap. You just build a cross compiler in the
standard manner, which *always* works.
David Daney