[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Please read if you use x86 -current
On Thu, 13 Nov 2008 11:41:39 +0100 (CET)
Havard Eidnes <he%uninett.no@localhost> wrote:
> > > > At a minimum, build.sh should have an option to do that, to get
> > > > the proper path for the toolchain, since these instructions can
> > > > fail:
> > >
> > > USETOOLS=no
> > And for folks who cross-compile?
> I have to ask: are you just trying to be difficult?
Not even slightly.
> When you built your kernel, you would by default have used the
> make wrapper and the tools put in $TOOLDIR. So when the
> instructions said "make", that should be read as
> which should take care of setting up a proper environment similar
> to the one when you built your kernel, and use the appropriate
> cross-compiler in $TOOLDIR/bin.
> "Standard NetBSD build procedures 101"
Actually, I don't do any of that; I use build.sh. And that's what the
documentation says. From src/BUILDING:
build.sh Bourne-compatible shell script used for building
the host build tools and the NetBSD system from
scratch. Can be used for both native and cross builds,
and should be used instead of make(1) for any source
tree that is updated and recompiled regularly.
Note the *should* in the last sentence.
I've made the point more explicitly several times: don't worry about
the best way to put it into the Makefile; worry about build.sh.
That's the recommended high-level interface to the build process. And
build everything, just as we do for userspace.
--Steve Bellovin, http://www.cs.columbia.edu/~smb
Main Index |
Thread Index |