Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2009 18:50:06 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Jim <stapleton.41@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 32 bit ports on an AMD64 system
Message-ID:  <20090901165006.GB56945@slackbox.xs4all.nl>
In-Reply-To: <80f4f2b20909010649i369ebfbao428fd8450ea48c26@mail.gmail.com>
References:  <80f4f2b20908310628p5129acc1qdb98311136bb716e@mail.gmail.com> <20090831163334.GA18945@slackbox.xs4all.nl> <44zl9f27fr.fsf@be-well.ilk.org> <80f4f2b20909010649i369ebfbao428fd8450ea48c26@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090901165006.GB56945>