version 1.2, 2001/11/08 21:29:06 |
version 1.6, 2001/11/25 18:40:34 |
|
|
plementation are noted specially, as with the note below: |
plementation are noted specially, as with the note below: |
|
|
Note: This document applies only to platforms which use the new toolchain |
Note: This document applies only to platforms which use the new toolchain |
as indicated by the setting of USE_NEW_TOOLCHAIN in /etc/mk.conf or |
as indicated by the default setting of USE_NEW_TOOLCHAIN in <bsd.own.mk>. |
<bsd.own.mk>. Platforms which have not yet been switched to the new |
Platforms which have not yet been switched to the new toolchain should |
toolchain should continue building traditionally, using the notes speci- |
continue building traditionally, using the notes specified in the file |
fied in the file UPDATING. |
UPDATING. |
|
|
REQUIREMENTS |
REQUIREMENTS |
NetBSD is designed to be buildable on most POSIX-compliant host systems. |
NetBSD is designed to be buildable on most POSIX-compliant host systems. |
|
|
|
|
Default: ``yes'' |
Default: ``yes'' |
|
|
|
MKHOSTOBJ Can be set to ``yes'' or ``no''. If set to ``yes'', then for |
|
programs intended to be run on the compile host, the name, |
|
release, and architecture of the host operating system will |
|
be suffixed to the name of the object directory created by |
|
``make obj''. (This allows multiple host systems to compile |
|
NetBSD for a single target.) If set to ``no'', then programs |
|
built to be run on the compile host will use the same object |
|
directory names as programs built to be run on the target. |
|
|
|
Default: ``no'' |
|
|
MKINFO Can be set to ``yes'' or ``no''. Indicates whether GNU Info |
MKINFO Can be set to ``yes'' or ``no''. Indicates whether GNU Info |
files, used for the documentation for most of the compilation |
files, used for the documentation for most of the compilation |
tools, will be created and installed during a build. |
tools, will be created and installed during a build. |
|
|
|
|
Default: ``yes'' |
Default: ``yes'' |
|
|
MKTOOLS Indicates whether the host tools will be built and in- |
|
stalled automatically if they are out-of-date. |
|
|
|
yes Build tools as needed into TOOLDIR, but only if the |
|
tools in question are out-of-date. |
|
|
|
no Do not update the tools in TOOLDIR; halt the build |
|
as a safety precaution if tools are out-of-date. |
|
|
|
always |
|
Always rebuild the tools in TOOLDIR from scratch |
|
during a build. This is similar to the standard |
|
NetBSD source tree build method, but is not typi- |
|
cally required for host tools. |
|
|
|
Default: ``yes'' |
|
|
|
NBUILDJOBS If set, specifies the number of parallel make(1) processes |
NBUILDJOBS If set, specifies the number of parallel make(1) processes |
that should be run simultaneously. This can speed up |
that should be run simultaneously. This can speed up |
builds on SMP machines, or machines with much more CPU |
builds on SMP machines, or machines with much more CPU |
|
|
-b Bootstrap ``make'' and create a nbmake-MACHINE script (see be- |
-b Bootstrap ``make'' and create a nbmake-MACHINE script (see be- |
low). |
low). |
|
|
|
-d Build a full distribution. This differs from a normal build in |
|
that etc files will also be installed. Note this does not |
|
build a ``release''; no release sets are placed in ${RE- |
|
LEASEDIR}. |
|
|
-j njob Set the value of NBUILDJOBS to njob. This provides similar |
-j njob Set the value of NBUILDJOBS to njob. This provides similar |
functionality to the familiar ``make -j'', but preserves the |
functionality to the familiar ``make -j'', but preserves the |
ordering of the top level ``make build''. |
ordering of the top level ``make build''. |
|
|
BUGS |
BUGS |
Many platforms are not yet using the USE_NEW_TOOLCHAIN system. |
Many platforms are not yet using the USE_NEW_TOOLCHAIN system. |
|
|
NetBSD October 29, 2001 8 |
NetBSD November 12, 2001 8 |