Subject: Re: WARNING: -current toplevel build process changing!
To: Todd Vierling <>
From: dive <>
List: current-users
Date: 06/01/2001 11:48:20
Will this make building NetBSD world / kernel on a FreeBSD system easier,
do you think? I've tried getting a cross compiler to work many times, and
never had any luck. My NetBSD system is a pentium 75mhz, the FreeBSD box is
a 533, so you can see why I'd prefer to build NetBSD on the FreeBSD system.


On Fri, Jun 01, 2001 at 02:27:51PM -0400, Todd Vierling wrote:
> In just a little bit I'll be committing changes to the toplevel "src"
> build process.  The new build system will create a directory to hold
> build-time tools, such as gcc, binutils, bmake, and so forth.  These are
> used BOTH for cross-compiling and native compiling, so as to ensure that
> proper versions of the tools are used for the source tree being compiled.
> The tools will only be recompiled when needed.
> To set where these tools are installed, set TOOLDIR in the environment (NOT
> /etc/mk.conf).  TOOLDIR will default to "src/tools/local" if not explicitly
> set.  The layout is similar to /usr/local (with "bin", "lib", etc.
> subdirectories).
> The existing toplevel targets (make build, make obj, make clean[dir], etc.)
> will still work; there will just be a Makefile shim that bootstraps bmake
> where needed.
> On most platforms, the build tools will consist of only bmake at this time,
> so any automated builds should continue to work fine if your "src" is
> writable.  This will expand to a full set of build tools, suitable for
> cross-compiling even on non-NetBSD hosts, in the near future.  In
> particular, i386 will also switch to the new gcc and binutils this weekend.
> If you have any problems with the new toplevel build process, please let me
> know (or post to tech-toolchain).  All this will also be documented in a bit
> more detail in "" in the top level.
> -- 
> -- Todd Vierling <>  *  Wasabi NetBSD:  Run with it.
> -- NetBSD 1.5 now available on CD-ROM  --