Subject: Re: How to force using existing toolchain?
To: Luong Ngo <>
From: David Laight <>
List: tech-toolchain
Date: 07/12/2007 07:59:02
On Wed, Jul 11, 2007 at 06:02:05PM -0700, Luong Ngo wrote:
> Hello,
> I am brand new to make and build system in general and NetBSD in
> specific. But I need to build the NetBSD source tree, I only need the
> userland binaries and filesystem only, using the toolchains already
> existed. How do I do that?

As soon as your source tree gets updated to be later that the installed
system you'll find that the installed programs are no longer new enough
to build the new tree.  In particular changes to the kernel config
program (to support new syntax) cause grief.

Run ' TOOLS' then use the created wrapper script (the sets alld
the environmemt variables to match the build) to build individual parts.

You probably also want to sort out a standard set of options to itself - and run it from a script file. Specify an object
directory with -O in order to keep your source tree clean. (+ a few


David Laight: