Subject: Re: setting up cross-compile kernel builds?
To: Edwin Foo <email@example.com>
From: Paul Becke <firstname.lastname@example.org>
Date: 05/31/2000 15:15:18
I have been trying to do the same thing, with not much success. If you are
successful I would very much appreciate knowing how you managed to cross compile
a kernel. I found there also seems to be a problem compiling libkern into a
relocatable object file. The -r option for the cross compiler linker may not
Edwin Foo wrote:
> I've downloaded and installed the cross/arm-netbsd pkg from pkgsrc, and I'd
> like to try using it to compile kernels for arm32. I just added
> /usr/pkg/cross/arm-netbsd/bin in front of my path - that works for compiling
> most stuff, but for kernels, I'm noticing that i386 stuff still gets
> included for libs and includes. How do I get the toolchain to look in
> /usr/pkg/cross/arm-netbsd/include and lib by default?