Subject: Re: Cross-compile on i386
To: None <port-hpcmips@netbsd.org>
From: Alex Poylisher <sher@komkon.org>
List: port-hpcmips
Date: 05/14/2003 10:08:44
Bryan,
By any chance, do you know how to supply VR4121-specific flags to build.sh?
I'd like to build a release for z50 and give -mcpu=r4000 -mips2 etc. to the
compiler.
Thanks,
--
Alex Poylisher
sher{at}komkon{dot}org
On Tue, May 13, 2003 at 06:19:45PM -0700, Bryan Vyhmeister wrote:
> 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
>
>