From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 16 20:40:23 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org 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 2DCC016A420 for ; Mon, 16 Jan 2006 20:40:23 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE81743D4C for ; Mon, 16 Jan 2006 20:40:22 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.13.4/8.13.4) with ESMTP id k0GKeMKj015926; Mon, 16 Jan 2006 12:40:22 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.4/8.13.1/Submit) id k0GKeMug015925; Mon, 16 Jan 2006 12:40:22 -0800 (PST) (envelope-from sgk) Date: Mon, 16 Jan 2006 12:40:22 -0800 From: Steve Kargl To: kael@sonic.net Message-ID: <20060116204022.GA15908@troutmask.apl.washington.edu> References: <20060116183735.GA15021@troutmask.apl.washington.edu> <20060116191915.GB15316@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-amd64@freebsd.org Subject: Re: Docs for running 32-bit apps? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2006 20:40:23 -0000 On Mon, Jan 16, 2006 at 11:45:49AM -0800, Kael Fischer wrote: > > If you can't recompile raftercc and blasta for amd64, then try > > to find the missing 32bit libs and drop them im /usr/lib32. > > You could create a symlink to get libm.so.2 (although I don't > > recommend this approach). A symlink probably won't work for > > libstdc++.co.3 because the C++ ABI changed. > > So in the normal buildworld on amd64 these get built, right? You need to add "WITH_LIB32=yes" to /etc/make.conf. This will then build the 32 bit libraries and install them. > > so it seems like lib32 stuff should be standard. > You may need to add COMPAT_FREEBSD4, COMPAT_FREEBSD5 (or whatever the names) to the kernel config file. -- Steve