From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTkkT-0003n6-EK for qemu-devel@nongnu.org; Wed, 22 Jul 2009 18:57:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTkkP-0003l6-SY for qemu-devel@nongnu.org; Wed, 22 Jul 2009 18:57:21 -0400 Received: from [199.232.76.173] (port=39556 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTkkP-0003l3-NQ for qemu-devel@nongnu.org; Wed, 22 Jul 2009 18:57:17 -0400 Received: from mail-qy0-f174.google.com ([209.85.221.174]:46061) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTkkP-00074W-3P for qemu-devel@nongnu.org; Wed, 22 Jul 2009 18:57:17 -0400 Received: by qyk4 with SMTP id 4so724753qyk.4 for ; Wed, 22 Jul 2009 15:57:16 -0700 (PDT) Message-ID: <4A679949.2070400@codemonkey.ws> Date: Wed, 22 Jul 2009 17:57:13 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH 00/37] Generate a proper LIBS variable References: <4A67594C.7080908@codemonkey.ws> <200907222333.21770.paul@codesourcery.com> In-Reply-To: <200907222333.21770.paul@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Paolo Bonzini , qemu-devel@nongnu.org, Juan Quintela Paul Brook wrote: >>>> I'd rather see the us generate a config-host.ld that contained the >>>> output of ld --verbose -v | grep SEARCH_DIR and then do: >>>> >>> Only for x86_64 or all architectures? Once here. >>> >> For all I would think. My only concern is that we'll break non-GNU ld's >> but we'll cross that bridge when we come to it. >> > > We should only be using linker scripts for the userspace emulation. > Well that raises the question of whether we should have separate LIB variables for linux-user and softmmu. If we ever have to deal with linux-user linking against user-supplied libraries, then we have to solve the linker script problem. Regards, Anthony Liguori > Paul > >