From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 15 17:46:43 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B1E116A4CE for ; Tue, 15 Feb 2005 17:46:43 +0000 (GMT) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB14B43D54 for ; Tue, 15 Feb 2005 17:46:41 +0000 (GMT) (envelope-from ftigeot@wolfpond.org) Received: from aoi.wolfpond.org (aoi.wolfpond.org [IPv6:2001:7a8:24db:1:20c:76ff:feb4:27e1]) by ares.wolfpond.org (8.13.1/8.13.1) with ESMTP id j1FHkd7B064571 for ; Tue, 15 Feb 2005 18:46:39 +0100 (CET) (envelope-from ftigeot@aoi.wolfpond.org) Received: from aoi.wolfpond.org (localhost [127.0.0.1]) by aoi.wolfpond.org (8.13.1/8.13.1) with ESMTP id j1FHkgsc024623 for ; Tue, 15 Feb 2005 18:46:43 +0100 (CET) (envelope-from ftigeot@aoi.wolfpond.org) Received: (from ftigeot@localhost) by aoi.wolfpond.org (8.13.1/8.13.1/Submit) id j1FHkgYV024622 for freebsd-amd64@freebsd.org; Tue, 15 Feb 2005 18:46:42 +0100 (CET) (envelope-from ftigeot) Date: Tue, 15 Feb 2005 18:46:42 +0100 From: Francois Tigeot To: freebsd-amd64@freebsd.org Message-ID: <20050215174642.GA24251@aoi.wolfpond.org> References: <20050215141155.GA29160@gattaca.yadt.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050215141155.GA29160@gattaca.yadt.co.uk> User-Agent: Mutt/1.4.2.1i Subject: Re: Cross compiling for i386 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 17:46:43 -0000 On Tue, Feb 15, 2005 at 02:11:55PM +0000, David Taylor wrote: > I also have an i386 workstation, which is significantly slower at building > world. I tried to cross-build the world on the amd64 box, then install it > over an NFS mount. Eventually, I managed to persuade it to build and > install, but it's not really a process I'd like to repeat every time I > update... > [...] I succeeded in running a 32-bit world built on an amd64 machine with 5.2.1-RELEASE. I used make installworld TARGET_ARCH=i386 DESTDIR=/blah on the amd64 host, which was much easier than what you did. The only issue at the time was with binutils. See this url for details: http://lists.freebsd.org/pipermail/freebsd-amd64/2004-March/000850.html > The only problem I had with the resulting world was the installed locales > in /usr/share/locale/ were invalid (32 vs 64 bit field somewhere?), and > fortune coredumped when ran. That was fixed easily enough by recompiling > libc and fortune on the i386 box. I used the binaries in an embedded system, so I had no trouble with these. -- Francois Tigeot