qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] libcacard: add libcacard.la target


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 2/2] libcacard: add libcacard.la target
Date: Mon, 16 May 2011 14:18:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]