Compiling an amd64 and i386 world

Ruslan Ermilov ru at FreeBSD.org
Sun Sep 17 15:31:18 PDT 2006


On Mon, Sep 18, 2006 at 08:06:57AM +1000, Jared Ring wrote:
> Hi, please reprimand me if this was the wrong list to ask on
> 
> I have a number of i386 machines, for maintaining them only one tracks 
> -stable and builds the kernel and world,the others mount /usr/obj and 
> /usr/src from this host and install from there. This is all described in 
> the handbook.
> 
> Now we have purchased some more machines, and these are amd64 
> architecture. Is it possible to setup my buildmachine to build both i386 
> and amd64 worlds/kernels and then configure make.conf on the appropriate 
> clients so that they install the right one?
> 
> Thanks for your time and help in answering this. On this one point, the 
> handbook doesnt really seem clear. I'd be happy to provide a bit of doco 
> for the handbook if it really is okay.
> 
We support cross-building and installing for a different hardware
architecture.  Remote root, /usr and /var partitions should be
mounted on say /mnt of the build host, then doing "make installworld
DESTDIR=/mnt" together with other options used to build will DTRT.
See the build(7) manpage for details, especially the bits about
TARGET_ARCH/TARGET and rpc.lockd(8).


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20060917/adc61817/attachment.pgp


More information about the freebsd-amd64 mailing list