From owner-freebsd-amd64@FreeBSD.ORG Sun Sep 17 22:31:18 2006 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBE5416A403 for ; Sun, 17 Sep 2006 22:31:18 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50BFD43D53 for ; Sun, 17 Sep 2006 22:31:18 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 3D3215E53; Mon, 18 Sep 2006 02:31:17 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 355A65E4E; Mon, 18 Sep 2006 02:31:17 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8HMVL7o085234; Mon, 18 Sep 2006 02:31:21 +0400 (MSD) (envelope-from ru) Date: Mon, 18 Sep 2006 02:31:21 +0400 From: Ruslan Ermilov To: Jared Ring Message-ID: <20060917223121.GD84871@rambler-co.ru> References: <450DC701.3030505@little-miracles.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6WlEvdN9Dv0WHSBl" Content-Disposition: inline In-Reply-To: <450DC701.3030505@little-miracles.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: freebsd-amd64@FreeBSD.org Subject: Re: Compiling an amd64 and i386 world X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2006 22:31:18 -0000 --6WlEvdN9Dv0WHSBl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > I have a number of i386 machines, for maintaining them only one tracks=20 > -stable and builds the kernel and world,the others mount /usr/obj and=20 > /usr/src from this host and install from there. This is all described in= =20 > the handbook. >=20 > Now we have purchased some more machines, and these are amd64=20 > architecture. Is it possible to setup my buildmachine to build both i386= =20 > and amd64 worlds/kernels and then configure make.conf on the appropriate= =20 > clients so that they install the right one? >=20 > Thanks for your time and help in answering this. On this one point, the= =20 > handbook doesnt really seem clear. I'd be happy to provide a bit of doco= =20 > for the handbook if it really is okay. >=20 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=3D/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, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --6WlEvdN9Dv0WHSBl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFDcy5qRfpzJluFF4RAtrFAJwPA9+SwpLvs/OJGPjLW+pr7UZgrwCfQjV1 9pfcok6WKhXXu46CrIN99Bs= =KYAK -----END PGP SIGNATURE----- --6WlEvdN9Dv0WHSBl--