From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 16:50:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 610B81065697 for ; Tue, 1 Sep 2009 16:50:08 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id E75E58FC17 for ; Tue, 1 Sep 2009 16:50:07 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id n81Go6rU015074; Tue, 1 Sep 2009 18:50:06 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 0CA0DBA9D; Tue, 1 Sep 2009 18:50:06 +0200 (CEST) Date: Tue, 1 Sep 2009 18:50:06 +0200 From: Roland Smith To: Jim Message-ID: <20090901165006.GB56945@slackbox.xs4all.nl> References: <80f4f2b20908310628p5129acc1qdb98311136bb716e@mail.gmail.com> <20090831163334.GA18945@slackbox.xs4all.nl> <44zl9f27fr.fsf@be-well.ilk.org> <80f4f2b20909010649i369ebfbao428fd8450ea48c26@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <80f4f2b20909010649i369ebfbao428fd8450ea48c26@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: 32 bit ports on an AMD64 system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 16:50:08 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 01, 2009 at 09:49:47AM -0400, Jim wrote: > > Also note that it is possible to have an i386 port-building jail on an > > amd64 system. >=20 >=20 > So, make/build/run a normal jail using the 64 bit os "world", add -m32 > to the make.conf CFLAGS and CXXFLAGS, build stuff in the jail, and > copy it to main (non-jailed) system, and run ldconfig on the library > directories? I'd probably also change PREFIX/LOCALBASE to prevent the > files from the ports from colling with the base system files when I > copy them over. The following post gives some more explanation. Essentially you're doing a cross-build: http://en.jnlin.org/2008/06/07/12/ Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkqdUL4ACgkQEnfvsMMhpyXGPQCZAX9gZQVacnL8kJevE4cRb6oO pRIAn1wKCj8OFfeInDqwDJwPNkm4xpTb =98lz -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--