Subject: Re: howto on world and kernel building?
To: paul beard <paulbeard@mac.com>
From: John Klos <john@sixgirls.org>
List: port-macppc
Date: 04/26/2002 01:48:04
Hi,

> Since I am starting over on my macppc box, I decided to start
> using CVS and learning more about how that all works.

It's always cleaner after the first few times!

> I have a
> pristine 1.5.2 install and was trying to follow the instructions,
> as far as cd'ing to /usr/src, and running make obj && make build.
> Well, I get errors on that that tell me I have no tools, ie no
> toolchain. So I ran build.sh, thinking it might get that going and
> it seems to be doing just that. It has failed twice on missing
> groups and once on a missing user (it expected to find a named
> user and group and an ntpd group). I added them and restarted. I
> am guessing I am on the right track, and that after all this, i
> may be able to build a new kernel and world out of current or
> release sources.

Well, there is a big difference between building current and building
release. With release, you get the three and type "make build" in the root
of /usr/src; if that doesn't work, something is broken and the developers
would love to know about it.

Building current is different, because you're generally using an older
toolchain to build a newer one, and in the case of VAX, Amiga, or mac68k,
you're building an ELF system using an a.out one.

> Is there a bonehead's guide to this stuff somewhere that I am
> missing?

Hmmm. It doesn't say it's for boneheads, but I'm sure it will do:
http://www.netbsd.org/Releases/current.html

And this may be helpful, too:
http://www.netbsd.org/Documentation/elf.html

One of the good things with going with current on PowerPC is that current
does Linux ABI emulation; I, for one, intend to start playing with Java
using that.

Good luck,
John Klos
Sixgirls Computing Labs