Why is building a cross compiler "out-of-the-box" always broken?
David Daney
ddaney@avtrex.com
Fri Aug 17 21:57:00 GMT 2007
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
More information about the Gcc
mailing list