On Fri, Oct 10, 2008 at 03:40:49PM -0400, Adam Jackson wrote:
On Fri, 2008-10-10 at 20:17 +0100, Daniel P. Berrange wrote:
> On Fri, Oct 10, 2008 at 02:51:17PM -0400, Adam Jackson wrote:
> > The state of the art is "gcc -shared".
>
> Not so much if you're trying to build for windows. The mingw32 work
> has only been made viable because libtool has basically taken care
> of the horrible shared library build process required by Windows.
Really? News to me. If you've got a link to anything documenting the
issues there I'd be interested, I've got a vested interest in keeping
the windows ports of X working but man do I hate libtool.
Traditionally the problem has been that you actually need to generate two
different bits of the DLL. A runtime part and linktime part. I thought it
was still the case that you needed to generate these separately, but it
seems the libtool docs I was reading are outdated, because the build logs
I'm looking at show it does in fact appear to do everything in one go with
-shared.
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://ovirt.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|