Subject: Re: README: UPDATE YOUR COMPILER BEFORE YOUR NEXT BUILD
To: Matthew Jacob <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 05/07/2002 11:20:27
On Mon, May 06, 2002 at 11:48:45PM -0700, Matthew Jacob wrote:
> On Tue, 7 May 2002, Simon Burge wrote:
> > Matthew Jacob wrote:
> > > Um- okay, after installing a recent Snapshot, a 'build -t' worked all the way
> > > through.
> > >
> > > I'm curious- it doesn't seem like build -t actually *installs* the
> > > compiler. The build.doc doesn't really say what pieces to pick from where- can
> > > somebody shoot me a clue?
> > "build -t" will put the compiler (and other host tools) in the TOOLDIR,
> > which defaults to a subdirectory of the objdir for src/tools (I think).
> > I have a TOOLDIR=/some/where in my /etc/mk.conf.
> > Note that the "build -t" compiler is the cross-compiler for use on the
> > current host, not whatever happens to be the target you want to build
> > for (even if they happen to be the same architecture).
> Yes- I can see where it went- but I'm trying to figure out how to transition
> this to be the running system's compiler so I can build kernels again. I guess
> I need to purchase another clue!
Build your kernel with the nbmake-alpha wrapper which you'll find in the
tool dir (somewhere in tools/obj/ if you used './build.sh -t without extra
parameters or environement variables).
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr