From owner-freebsd-amd64@FreeBSD.ORG Fri Nov 11 20:23:35 2005 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 2A64E16A41F; Fri, 11 Nov 2005 20:23:35 +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 CAD5043D45; Fri, 11 Nov 2005 20:23:34 +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 jABKNYwZ064250; Fri, 11 Nov 2005 12:23:34 -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 jABKNYuc064249; Fri, 11 Nov 2005 12:23:34 -0800 (PST) (envelope-from sgk) Date: Fri, 11 Nov 2005 12:23:34 -0800 From: Steve Kargl To: Peter Wemm Message-ID: <20051111202334.GA64218@troutmask.apl.washington.edu> References: <43743466.2050909@gmail.com> <43743CC5.9070801@freebsd.org> <200511111131.36948.peter@wemm.org> <20051111200558.GA64077@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20051111200558.GA64077@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.1i Cc: Kris Moore , Paul Saab , freebsd-amd64@freebsd.org Subject: Re: Question about x64 and running x86 programs 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: Fri, 11 Nov 2005 20:23:35 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Nov 11, 2005 at 12:05:58PM -0800, Steve Kargl wrote: > On Fri, Nov 11, 2005 at 11:31:36AM -0800, Peter Wemm wrote: > > On Thursday 10 November 2005 10:40 pm, Paul Saab wrote: > > > LD_32_LIBRARY_PATH > > > > ldconfig -32 /usr/lib32:/usr/X11R6/lib32:/usr/local/lib32 > > > > man ldconfig does not show a -32 option. > See attached. -- Steve --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ldconfig.8.diff" --- ldconfig.8 Fri Nov 11 12:19:58 2005 +++ ldconfig.8.new Fri Nov 11 12:19:04 2005 @@ -37,6 +37,7 @@ .Nd configure the shared library cache .Sh SYNOPSIS .Nm +.Op Fl 32 .Op Fl aout | Fl elf .Op Fl Rimrsv .Op Fl f Ar hints_file @@ -103,6 +104,9 @@ The following options are recognized by .Nm : .Bl -tag -width indent +.It Fl 32 +On 64-bit systems that support running 32-bit binaries, load hints +about the 32-bit shared libraries. .It Fl aout Generate the hints for a.out format shared libraries. .It Fl elf --SLDf9lqlvOQaIe6s--