32 bit ports on an AMD64 system

Roland Smith rsmith at xs4all.nl
Tue Sep 1 16:50:08 UTC 2009

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

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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090901/1e09784f/attachment.pgp

More information about the freebsd-questions mailing list