This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why is building a cross compiler "out-of-the-box" always broken?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]