Subject: Re: cross compile: the chicken-egg problem
To: Tim Rightnour <>
From: Todd Vierling <>
List: tech-toolchain
Date: 06/17/1998 10:17:40
On Wed, 17 Jun 1998, Tim Rightnour wrote:

: As an expirament to learn more about netbsd, and porting the OS.. I've
: attempted to set up a cross compiler at work.. I've got it working pretty much
: on an RS6000 running AIX 4.1.1.  It is able to build netbsd-i386 binaries with
: no problems. (they work too!)

You'll find that you cannot compile shared libraries with this setup, and
that "strip" may corrupt the binaries.  We don't currently support a full
cross-compile environment for NetBSD, unfortunately.  That's, informally,
one of the tasks a handful of the developers are working on. 

: My big question though.. Is how the !@#$ do I move past this, take my kernel,
: and get it to floppy.  I'm trying to take this from the approach of "I dont
: have a working machine to do this from", so I can learn the exact steps, and be
: able to do a port at some point in the future.  I guess my understanding of how
: we currently build floppy images involved vnode file systems, and I really
: doubt AIX has this facility.  Is there another way to build a floppy image?

No.  You _must_ have a NetBSD system in order to build NetBSD bootable
images.  That's why we ship bootstrap floppies... <g>

-- Todd Vierling (Personal; Bus.