Subject: Re: few questions
To: Sean Davis <dive-nb@endersgame.net>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-macppc
Date: 05/15/2002 10:48:14
On Wed, May 15, 2002 at 01:07:52AM -0400, Sean Davis wrote:
> What steps do I need to take to be able to build a kernel for netbsd/macppc
> on i386?

To build a cross-compilation toolchain targetting macppc:

	./build.sh -m macppc -t -T /disk2/f/macppc/tools

To build a kernel after that's built:

	cd /usr/src/sys/arch/macppc/conf
	/disk2/f/macppc/tools/bin/nbconfig GENERIC
	cd ../compile/GENERIC
	/disk2/f/macppc/tools/bin/nbmake-macppc depend
	/disk2/f/macppc/tools/bin/nbmake-macppc 

Note that there's no technical reason why you need to use a separate
TOOLDIR for different targets.  The tools are designed to go into one
directory tree.

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 http://www.wasabisystems.com/    Quality NetBSD CDs, Sales, Support, Service
NetBSD development for Alpha, ARM, M68K, MIPS, PowerPC, SuperH, XScale, etc...