From owner-freebsd-questions@FreeBSD.ORG Mon Feb 18 22:27:40 2008 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 9EE3016A417 for ; Mon, 18 Feb 2008 22:27:40 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 069FC13C46A for ; Mon, 18 Feb 2008 22:27:24 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id m1IMOMQw013560; Mon, 18 Feb 2008 23:24:22 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id m1IMOGQS013557; Mon, 18 Feb 2008 23:24:20 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 18 Feb 2008 23:24:16 +0100 (CET) From: Wojciech Puchar To: Mark Moellering In-Reply-To: <200802181652.55054.mark@msen.com> Message-ID: <20080218232122.C13453@wojtek.tensor.gdynia.pl> References: <200802181652.55054.mark@msen.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: compiling 32 bit port on amd64 - Rephrase 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: Mon, 18 Feb 2008 22:27:40 -0000 > 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.