From owner-freebsd-amd64@FreeBSD.ORG Sun Nov 14 20:44:03 2004 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 D731216A4CE for ; Sun, 14 Nov 2004 20:44:03 +0000 (GMT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC85043D39 for ; Sun, 14 Nov 2004 20:44:03 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 7A3A22A8DA for ; Sun, 14 Nov 2004 12:44:03 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id B36E8E2B3 for ; Sun, 14 Nov 2004 12:44:02 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.1/8.13.1) with ESMTP id iAEKi2Rc087171; Sun, 14 Nov 2004 12:44:02 -0800 (PST) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.1/8.13.1/Submit) id iAEKi1EH087170; Sun, 14 Nov 2004 12:44:01 -0800 (PST) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: freebsd-amd64@freebsd.org Date: Sun, 14 Nov 2004 12:44:01 -0800 User-Agent: KMail/1.7 References: <4190043C.3030409@jrv.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411141244.01695.peter@wemm.org> Subject: Re: Finally got it working... more help required 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: Sun, 14 Nov 2004 20:44:03 -0000 On Sunday 14 November 2004 02:05 am, Jean-Yves Avenard wrote: > Hello > > I took a shot, > After always failed to upgrade a FreeBSD 5.x from i386 to AMD64 mode > I took the plunge and re-installed from scratch FreeBSD 5.3 for > AMD64. > > And it worked ; very please about that. > > Now there are some tools that won't compile in AMD64 mode (like > cvsgraph and cvsweb 3.0) > So I was wondering if there's any good source of information on how > to run 32bits applications? > How do I build and make the 386 mode work in AMD64? > > When I try to run a program complied with FreeBSD 5.3 i386 I get an > error about libelf32 missing. If you are running CURRENT or RELENG_5, you can put "WITH_LIB32=yes" in /etc/make.conf and you will get 32 bit libraries with 'make world'. If you are running 5.3-RELEASE (any build for the last few months) you can "cd /usr/src; sh tools/lib32/build.sh" and it should make the base 32 bit libraries for you. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5