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]

Re: documentation for cross compiling.


On Tue, Jul 03, 2001 at 12:53:11PM -0700, H . J . Lu wrote:
> On Tue, Jul 03, 2001 at 05:37:26AM -0700, Daniel Jacobowitz wrote:
> > > 
> > > I have done that many times. It only happens once per port.
> > 
> > That depends if you insist on full proper bootstraps or not.  Every
> > time I to a daily build for one of our architectures, we start without
> > a target libc installed.  This prevents all sorts of unpleasant
> > lingering problems.
> 
> Check out my mips toolchain source rpm to see how I do it. I have a
> setup to rebuild my Linux/mips from scratch. It is kind of tricky.

I have a perfectly working setup to do this.  It relies on the ability
to build a minimal gcc for only C support without the presence of a
target libc.  I consider that a perfectly reasonable requirement; don't
you?

I've actually got a couple other patches floating around necessary for
this, mostly to fix problems introduced in the DWARF2 unwinder.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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