From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLwkT-0005Hw-O7 for qemu-devel@nongnu.org; Mon, 16 May 2011 08:18:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QLwkS-0000MN-QB for qemu-devel@nongnu.org; Mon, 16 May 2011 08:18:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLwkS-0000MC-I1 for qemu-devel@nongnu.org; Mon, 16 May 2011 08:18:08 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4GCI842018485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 16 May 2011 08:18:08 -0400 Message-ID: <4DD115FD.1040103@redhat.com> Date: Mon, 16 May 2011 14:18:05 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1305474018-23235-1-git-send-email-alevy@redhat.com> <1305474018-23235-3-git-send-email-alevy@redhat.com> <4DD0CB7A.7050700@redhat.com> <20110516102529.GF27965@playa.redhat.com> <4DD0FD3C.20707@redhat.com> <4DD11333.6020908@redhat.com> <4DD1139B.4030301@redhat.com> <20110516121418.GG27965@playa.redhat.com> In-Reply-To: <20110516121418.GG27965@playa.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] libcacard: add libcacard.la target List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , qemu-devel@nongnu.org On 05/16/2011 02:14 PM, Alon Levy wrote: > On Mon, May 16, 2011 at 02:07:55PM +0200, Paolo Bonzini wrote: >> On 05/16/2011 02:06 PM, Gerd Hoffmann wrote: >>>> Usually programs that are fully autoconf-iscated will ship a subset of >>>> libtool sources in the tarball, build a custom version at configure >>>> time, and invoke it from the Makefile via ./libtool. This has the >>>> advantage that only the maintainer needs to have libtool installed. OTOH >>>> we do not use Autoconf and I think this contributes to 99% of the bad >>>> name for Autoconf, so it's not something we want. >>> >>> Another option would be to not use autoconf at all. >> ^^^^^^^^ >> >> You probably mean libtool? >> >>> Building ELF shared >>> libs isn't that difficuilt these days. Question is whenever there is any >>> non-ELF platform we care about (Windows maybe?). >> >> ... and Darwin? >> > > For linux all that is needed is to recompile all required sources with -fPIC (doesn't > make sense to force that on the objects linked to the rest of qemu), and link them with > gcc -shared. Does that work on Darwin? on Windows (mingw / cygwin)? No :( Windows is a total mess, but Darwin is only slightly better and the naming conventions differ too (.dylib instead of .so for example). Paolo