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?


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.


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