Subject: Re: setting up cross-compile kernel builds?
To: None <efoo@crl.dec.com>
From: Jun Ebihara <jun@soum.co.jp>
List: current-users
Date: 06/22/2000 13:48:09
From: "Edwin Foo" <efoo@crl.dec.com>
Subject: setting up cross-compile kernel builds?
Date: Mon, 31 May 2021 14:49:25 -0400

> Hi,
> 
> 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?

On hpcmips:
See 
ftp://ftp.netbsd.org/pub/NetBSD/arch/hpcmips/cross/i386-hpcmips/hpcmips-make

may be change MACHINE,MACHINE_ARCH,WHICH environment.
--
jun ebihara