libtool
[Top][All Lists]
Advanced

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

Re: How to build a .dll on cygwin?


From: Bob Friesenhahn
Subject: Re: How to build a .dll on cygwin?
Date: Thu, 1 Jul 2004 18:50:38 -0500 (CDT)

On Fri, 2 Jul 2004, Carlo Wood wrote:

Hi,

I am trying several days now to build a .dll on cygwin.
But it only wants to build a static library :(.

What am I doing wrong?

You need to add -no-undefined to the libtool options. Under Windows, the symbols must be fully resolved when the DLL is created. That means you must also supply all of the libraries that your DLL depends on. Libtool adds an additional restriction that all of the libraries that your DLL depends on must also be DLLs (with possible exception of the compiler's own libraries).

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

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