Subject: Re: Cross developing for NetBSD ARM on Linux
To: None <tech-toolchain@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-toolchain
Date: 05/16/2006 10:36:49
On Mon, May 15, 2006 at 16:00:24 -0700, marty fouts wrote:

> I wasn't clear.  I'm not trying to figure out how to cross build
> NetBSD, I'm already doing that.
> 
> What I need to figure out is how, on a Linux system, to build an a.out
> for an application that's not part of the NetBSD tree, but will run on
> an NetBSD arm system.
> 
> Obviously I can hack the application into the NetBSD source tree and
> use build.sh to make world and get it that way, but I was looking for
> a way to extract the toolchain from the tree, install it on a
> non-NetBSD system and then build a.out against it.

http://snark.ptc.spbu.ru/~uwe/netbsd/cross.html

Instead of the initial detailed steps (and the list of targets is
outdated too), you can just run: build.sh ... distribution
and then do the symlink dance.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen