Date: Mon, 18 Feb 2008 23:24:16 +0100 (CET) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Mark Moellering <mark@msen.com> Cc: freebsd-questions@freebsd.org Subject: Re: compiling 32 bit port on amd64 - Rephrase Message-ID: <20080218232122.C13453@wojtek.tensor.gdynia.pl> In-Reply-To: <200802181652.55054.mark@msen.com> References: <200802181652.55054.mark@msen.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Is there a way to compile the 32 bit version (i386) of a port on an amd64 > installation? I am running FreeBSD 7.0 RC2 amd64 very stupid (i don't know better) way but will work. unpack all freebsd disto to say /i386, use install.sh from installation CD this way DESTDIR=/i386 ./install.sh in every dir (exclude sys and sources). unpack port directories in /i386/usr/ports (if you use portsnap, portsnap -d /i386/usr/ports extract) make empty /i386/etc/fstab cp /etc/resolv.conf /i386/etc/resolv.conf mount_devfs devfs /i386/dev cd /i386 chroot . bin/your_favourite_shell cd /usr/ports compile as usual.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080218232122.C13453>