Subject: Re: Cross Compile Sparc64 binary at Alpha
To: Sung-Won Chung <swchung7@hotmail.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 06/27/2002 23:16:18
On Thu, Jun 27, 2002 at 01:40:40PM +0900, Sung-Won Chung wrote:
> 
> Is it possible to build Ultra 1 NetBSD kernel on NetBSD Alpha ?
> 
> If possible, is there cross compiler ? or should I make it ?

It should be possible, modulo compiler bugs. I've compiled an alpha
snapshot on a sparc64 machine.

To get a cross-compiler just use the new build.sh mechanism in the
1.6 sources:
./build.sh -t -T /some/dir -m sparc64
and you'll have your cross-tools in /some/dir. Just use
/some/dir/bin/nbmake-sparc64 to build your kernel.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--