Subject: Re: Kernel cross-compiling howto
To: Florian Stoehr <netbsd@wolfnode.de>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: netbsd-docs
Date: 12/25/2004 19:27:47
On Fri, 24 Dec 2004 15:57:16 +0100 (CET)
Florian Stoehr <netbsd@wolfnode.de> wrote:

> One thing to remember: If you want to keep toolchains for
> several architectures (toolchain-SGIMIPS, toolchain-SPARC, ...),
> note that if you RENAME the toolchain directory OR MOVE THE
> DIRECTORY, you have to adjust the "bin/nbmake-<platform>"
> script.
You can use the same $TOOLDIR for all architectures. In some cases you
don't even need to build a toolchain for a different architecture (i.e.
$MACHINE), if the architecture is based on the same CPU (i.e.
$MACHINE_ARCH) of an already build toolchain. In such cases a
"./build.sh ... makewrapper" is enough. But you will need to build the
toolchain for the new architecture if you need $MACHINE dependent tools,
e.g. tools to create boot images.
--=20


tsch=FC=DF,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/