Shared libraries in Cygwin

Eric Blake eblake@redhat.com
Tue Jun 29 21:46:00 GMT 2010


On 06/29/2010 03:43 PM, Refr Bruhl wrote:
> 
> Question
> 
> Since I get the message below does this mean cygwin cannot compile shared libraries?

Quite the contrary - cygwin1.dll is a shared library, which means not
only can cygwin compile shared libraries, but it depends on them!

> Or if a shared library is defined special action needs to be taken for
cygwin?

The special action being that all symbols must be defined in advance.

> 
> 
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries

Look into the documentation of the -no-undefined flag of libtool, and
make sure you are using it.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100629/1f4289cd/attachment.sig>


More information about the Cygwin mailing list