From owner-freebsd-amd64@FreeBSD.ORG Thu Dec 9 00:32:35 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 68C2716A4CE for ; Thu, 9 Dec 2004 00:32:35 +0000 (GMT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4752D43D7F for ; Thu, 9 Dec 2004 00:32:35 +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 F194C2A8E0 for ; Wed, 8 Dec 2004 16:31:58 -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 A4CEEE2B5 for ; Wed, 8 Dec 2004 16:31:58 -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 iB90Vv0h083468; Wed, 8 Dec 2004 16:31:57 -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 iB90VvCB083467; Wed, 8 Dec 2004 16:31:57 -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: Wed, 8 Dec 2004 16:31:57 -0800 User-Agent: KMail/1.7.1 References: <41B7901E.9050908@cisnet.com> In-Reply-To: <41B7901E.9050908@cisnet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412081631.57451.peter@wemm.org> Subject: Re: 32 bit compatability 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: Thu, 09 Dec 2004 00:32:35 -0000 On Wednesday 08 December 2004 03:37 pm, Ken Lowther wrote: > I have been reading the archives on this issue and am getting some > info bit by bit. > > I am running 5.3 Release amd64 > > I have edited /etc/make.conf and added: > WITH_LIB32=YES > > I have edited my version of MYKERNEL to include : > options SMP > options QUOTA > options COMPAT_IA32 # Compatible with i386 > binaries (last one in by default) > > Did make depend, make, and make insall. > > Rebooted. Kernel looks like it installed because quotas now work: > > hostserv1# quota -v > Disk quotas for user root (uid 0): > Filesystem usage quota limit grace files quota > limit grace > /home 130108 0 0 3660 0 > 0 /usr 1054978 0 0 67161 0 0 > /var 6580 0 0 1031 0 0 > > I gather this means the kernel suports the 32 bit compat mode from > the posts I have seen so far: > > hostserv1# sysctl kern.elf32 > kern.elf32.fallback_brand: -1 > hostserv1# > > After this I seem to be lost. I have seen references to various > things, but bottom line, where do I go from here. The script under > tools is obsolete now? install32.sh? I get the impression that this > stuff was supposed to compile with the kernel but Google doesn't help > me find any one place that is a step by step walk through. The 32 bit libraries are built as part of buildworld/installworld. However, if you still have a fresh world laying around, you might be able to build just the libraries part like this: cd /usr/src; make build32 make install32 If you have any trouble, then do a full buildworld etc and they will be included with it. -- 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