Subject: Re: PowerMac 7300/200 boot problems (current)
To: None <port-macppc@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 07/19/2007 14:26:57
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jul 19, 2007, at 14:02, Sampson Stein wrote:

> I want to use that obj dir whilst building on the FreeBSD machine, but 
> wouldnt using '-O /usr/netbsd/obj' to build.sh result in paths being 
> screwed up when installing from the mac?

No. obj is for .o files and similar stuff, the actual userland you're 
building will show up in whatever dir you passed as destination using 
- -D

> Also, how should I upgrade the userland and such on the mac.. the 
> kernel, I just copied it... but I'm guessing if I did all the building 
> on the freebsd, I could use build.sh to install too correct?

Yes, but I usually prefer building tarballs ( build.sh sets, they'll 
show up in whatever you passed as release dir -R ) - tar xpzf base.tgz 
etc., then run 'postinstall fix' to get rid of obsolete files an such ( 
make sure /usr.src points at your sources or postinstall won't work )
With tarballs you can build everything on FreeBSD and just unpack on 
the Mac.

> I know I sound like an idiot here, but the build system you guys use 
> is a tad different than what I am used to, FreeBSD.

Eh, it's a bit hard to grasp first, I had my own troubles with it years 
ago. Don't feel bad about that, everyone's been there. The main 
advantage is that we can cross-build everything anywhere and the build 
host doesn't even have to run NetBSD, just some halfway modern not too 
weird UNIXish OS.

> Basically what I am asking is will there be path problems if I use 
> build.sh to install, on the macppc? or is there a better way?

Build tarballs, unpack them on the mac, run postinstall fix.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRp+s8cpnzkX8Yg2nAQKvVQgAm8fU1h47kWvOal/EX3yG773mAnBicYEv
ymrKFw3k0G3kiikOEpMQ5LVCKQs/ZriEV5YjjluWDl3De/FPuHoSqxShNlT3nmdo
v6bb/0+RlwX9OQfEL/3h6a6eZet13MvzzRm4dy5WMJxP6IPCB6nqdOFyCkzW6mZA
bfIDKnZLS2F6xz/fMiTtvK3o0NmZYJJwv0IoduCbpBPXbZSsxtswO8cbxBslO81m
4Z0QEatmHWUF3gr7awOUyNovx+SQE9xEIDNtdsxUXOEpi9qfikLFt2Y15q7hjQwD
8FgfiZEQRn+4fyV3znaEg/Hhd0CUKSmBgJ6N+ZwZT8Bf50c61oRqpw==
=MYtq
-----END PGP SIGNATURE-----