Re: cross builds.

Andy Ruhl <[email protected]> Tue, 17 Feb 2009 15:11:53 -0700
Newsgroups gmane.os.netbsd.ports.hpcmips
Message-ID <[email protected]>
On Tue, Feb 17, 2009 at 2:15 PM,  <[email protected]> wrote:
> I've read the pkgsrc hints at doing builds with a cross compiler.  Although most GNU configure tests will work with a cross compiler, there's still several that simply require running a native binary.  An example would be the byte alignment test in perl5 or libnet10.
>
> Have you run into many issues using a cross compiler for pkgsrc builds?  I was strongly leaning toward that direction when I finally get around to doing my 5.0 userland as it would GREATLY speed things up.

I actually only cross build the kernel and userland. I started to
setup pkgsrc to do it, but it seems non trivial and my Cobalt isn't
really slow enough to make me want to pursue cross building pkgsrc. It
builds stuff quick enough and it's totally compatible with the
Mobilepro.

I have been building my own kernels and userland for the mobilepro for
a long time now. It's pretty quick and saves me from having to wait to
download stuff while I'm doing an upgrade. You can just stick an
install kernel on the CF card, point it to another machine on your
network or even a local directory for the .tgz files, and away you go.

Andy