Subject: WARNING: -current toplevel build process changing!
To: None <current-users@netbsd.org>
From: Todd Vierling <tv@wasabisystems.com>
List: current-users
Date: 06/01/2001 14:27:51
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 "README.tools" in the top level.
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi NetBSD: Run with it.
-- NetBSD 1.5 now available on CD-ROM -- http://www.wasabisystems.com/