Subject: Re: Kernel cross-compiling howto
To: None <>
From: Klaus Heinz <>
List: tech-kern
Date: 12/25/2004 17:02:09
Florian Stoehr wrote:

> I got many replies, so I learned that itself is capable of
> doing the kernel-only crosscompile, futhermore there are instructions
> under "crosscompiling NetBSD" -> but the toolchain moving seems not
> mentioned there.

I don't see why you would need to rename the directory:

  $ ls -1 bin

> Unfortunately, there is no link to the cross compiling howto in the
> kernel FAQ -> maybe it'd be good to put a link to the cross-compiling
> howto there?

This is indeed a good idea.

> Still I wonder why "nbmake" will not work - I saw this in another
> kernel-crosscompiling mail in the archive (although that was old and
> used -t to build the toolchain which seems depreacted).

You need nbmake-<yourarch>. This is a script containing the variables
resulting from your first invocation of