Subject: Re: How to built a system from another platform ?
To: Richard PLOIX <richard.ploix@fr.adp.com>
From: Chris Gilbert <chris@buzzbee.freeserve.co.uk>
List: port-arm32
Date: 12/13/2000 22:23:07
On Wed, 13 Dec 2000, Richard PLOIX wrote:
> hi,
>
> At 17:09 13/12/00 +0100, you wrote:
> >On Wed, Dec 13, 2000 at 04:45:14PM +0100, Richard PLOIX wrote:
> >> hello,
> >> I have a RISCPC/arm32 and a laptop/i386 NetBSD machines.
> >> I recently do an update of the arm32 machine with 1.4.3 version,
> >> (SUP, kernel and make build).
> >> The sources are on the 8Gb-arm32 machine.
> >> I have a ppp link between the two machines.
> >> The 1386 disk(250 Mb) is too small to support the sources on itself.
> >> Is it possible to generate an i386 kernel and an i386 make build
> >> from or via the arm32 machine?
> >
> >You could certainly set up a cross compiler on the arm32 machine. It's
> >quite easy to build a kernel this way, but doing a 'make build' will
> > require more tweaks.
>
> OK, but how to do these kernel and cross compiled ?
>
> ===================================================
>
> >Another option is to mount the arm32's disk via NFS on the i386 machine,
> >but over ppp it will be quite slow.
>
> I have a ppp and a lot of time to do it.
> ========================================
I'd suggest taking a look at:
http://www.mclink.it/personal/MG2508/nbsdeng/chap-net.html#AEN2445
It's the section in the netbsd guide talking about how to setup NFS for
server and clients. I used it for getting some info on configuring an i386
as an nfs server, serving a RiscPC and a sparc (all running netbsd 1.5) for
doing builds and pkgsrc, works fine :)
Chris