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)? > Paolo >