Compiling a DLL

Brian Dessent
Wed Dec 1 17:31:00 GMT 2004


> What are the procedures for compiling a DLL without using the Cygwin
> DLL?

In short: if you want to use Cygwin's posix emulation layer then you
will be linking to cygwin1.dll and your program will be GPL[1].  There's
no way to statically compile an app that still uses the emulation layer
but doesn't depend on the DLL.  You can compile a mingw app of course
with the -mno-cygwin switch, but the amount of unix-like functionalty
that's supported is very much a subset of what you get with Cygwin.  If
this is what you want then you need to ask your question on the mingw


[1] Unless you pay Redhat for their commercial license.

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list