Subject: Re: Cross-compile on i386
To: Robert Brown <shox@shox.org>
From: Bryan Vyhmeister <bsd@hub3.net>
List: port-hpcmips
Date: 05/13/2003 18:19:45
On Tuesday, May 13, 2003, at 06:17 PM, Robert Brown wrote:

> Hi folks. I'm trying to build a cross-compile environment inside of a
> NetBSD 1.6.1 i386 VMWare virtual machine. I followed the directions 
> based
> on the list archives and the how-to-develop FAQ, but I am still having
> issues.  I have a locally mirrored and cvsupped source tree to work 
> with.

I think you are doing it the hard way. Assuming you are building 1.6.1, 
just use build.sh.

The way I usually build a cross-compiled release is to do the following:

cd /usr/src
./build.sh -m hpcmips -T /usr/cross -t

Wait until that finishes then run:

./build.sh -m hpcmips -T /usr/cross -D /my-build-directory -d -R 
/where-i-want-the-release-to-end-up

That works for me just fine. Substitute a path for -D and -R.

Bryan