Subject: Re: Cross-compiling for arm26 - what do I need?
To: Ian Fry <Ian.Fry@sophos.com>
From: Gavan Fantom <gavan@coolfactor.org>
List: port-arm26
Date: 11/26/2001 17:08:56
On Mon, 26 Nov 2001, Ian Fry wrote:

> No, you don't need the cross compiler package, just the -current source and a
> 1.5.x NetBSD host (you may also be able to cross compile from
> Linux/FreeBSD/other Unix). In fact, the cross compiler package no longer
> works due to some changes in headers on arm26 vs other ports.

OK...

> Once you have this, read BUILDING in the top level -current source
> directory, and you can use build.sh to do the actual compile (if you
> know what you're doing, you can do everything by hand, but using
> build.sh simplifies things a lot).

So would I be right in thinking that:

/usr/src/build.sh -d -m arm26 -D /export0

will build NetBSD/arm26 and install it in /export0?

(Do I need -O /usr/obj or something as well, or will it use obj dirs in a
default location?)

Is there a separate step to build a kernel?

> Take a look at http://www.netbsd.org/Documentation/network/netboot/ and
> diskless(8) (you can get at the man pages from the web if you don't have a
> NetBSD machine)

OK. Does the arm26 bootloader use bootparamd and tftp, or does it already
manage to load a kernel and thus only need NFS to be set up?

-- 
Gillette - the best a man can forget