Cross building FreeBSD
rsmith at xs4all.nl
Wed Jan 18 22:39:29 UTC 2012
On Wed, Jan 18, 2012 at 01:40:02PM +0100, Christer Solskogen wrote:
> I've just installed FreeBSD 9.0-RELEASE on my Mac Mini G4 (powerpc) -
> Can I use my other, and much faster, machine(amd64) to compile world
> and kernel to either populate /usr/obj or to generate base.txz, and
It should be possible. See e.g. this article:
You do have to look up what the correct values of TARGET and TARGET_ARCH are
on powerpc. IIRC, the G4 is 32-bit. So according to running 'make target' in
/usr/src, it should be TARGET="powerpc" and TARGET_ARCH="powerpc".
If you use the DESTDIR variable on the build command line, you can put the
generated world and kernel in a separate directory, the contents of which you
can then copy (e.g. with tar|nc or with rsync) to /usr/obj on the Mac Mini.
Personally, 9.0 is the first release where I haven't bothered to build a
custom kernel, because the GENERIC kernel seems to have everything I need
built-in or available as a module. And neither have I bothered yet with
building a custom world.
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120118/e2b53e25/attachment.pgp
More information about the freebsd-questions