From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29395 invoked by alias); 14 Aug 2003 00:54:29 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 28925 invoked from network); 14 Aug 2003 00:54:27 -0000 Received: from unknown (HELO mta04ps.bigpond.com) (144.135.25.158) by sources.redhat.com with SMTP; 14 Aug 2003 00:54:27 -0000 Received: from bubble.local ([144.135.25.87]) by mta04ps.email.bigpond.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HJL0060Y3NZ6F@mta04ps.email.bigpond.com> for binutils@sources.redhat.com; Thu, 14 Aug 2003 10:50:23 +1000 (EST) Received: from cpe-144-136-188-60.sa.bigpond.net.au ([144.136.188.60]) by psmam07bpa.bigpond.com(MailRouter V3.2g 125/4268593); Thu, 14 Aug 2003 10:50:20 +0000 Received: (qmail 20954 invoked by uid 179); Thu, 14 Aug 2003 00:50:20 +0000 Date: Thu, 14 Aug 2003 00:54:00 -0000 From: Alan Modra Subject: Re: PATCH: Add LIBPATH_SUFFIX for ${tool_lib}. In-reply-to: <20030814002002.GA22053@lucon.org> To: "H. J. Lu" Cc: binutils@sources.redhat.com Mail-followup-to: "H. J. Lu" , binutils@sources.redhat.com Message-id: <20030814005020.GP27145@bubble.sa.bigpond.net.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20030813225242.GA20434@lucon.org> <20030814000702.GN27145@bubble.sa.bigpond.net.au> <20030814002002.GA22053@lucon.org> X-SW-Source: 2003-08/txt/msg00223.txt.bz2 On Wed, Aug 13, 2003 at 05:20:02PM -0700, H. J. Lu wrote: > On Thu, Aug 14, 2003 at 09:37:02AM +0930, Alan Modra wrote: > > On Wed, Aug 13, 2003 at 03:52:42PM -0700, H. J. Lu wrote: > > > We didn't add LIBPATH_SUFFIX for ${tool_lib}. As the result, we got > > > > > > SEARCH_DIR("/export/tools/ppc64-linux/lib"); > > > > > > This patch changed it to > > > > > > SEARCH_DIR("/export/tools/ppc64-linux/lib64"); SEARCH_DIR("/export/tools/ppc64-linux/lib"); > > > > I think this would be wrong. By adding a /lib64 version of > > ${tooldir}/lib you seem to be inferring that ${tooldir}/lib is now for > > 32 bit libraries. > > Isn't that true? When you configure binutils with > > ..../configure --target=ppc64-linux --prefix=/export/tools > > where are 32 bit libraries? where are 64bit libraries? In /export/tools/lib, /export/tools/lib64 and so on. ie. in the normal system lib dirs. I'm very nervous about changing the meaning of ${tooldir}/lib without some serious thought as to the consequences. Also, to achieve anything, you'll need to change a whole lot of other tools, eg. gcc, that know that $prefix/$target/* contain headers and libs for $target. -- Alan Modra IBM OzLabs - Linux Technology Centre