This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Building DLLs
- To: gnu-win32 at cygnus dot com (gnu-win32)
- Subject: Building DLLs
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Date: Tue, 25 Feb 1997 17:50:53 +1100 (EST)
Hi,
I've put up some explanations on how to create DLLs at
<http://www.cs.mu.oz.au/~fjh/gnu-win32/how-to-build-dlls.html>.
With this method, creating a DLL is relatively simple.
You create a `foo.a' file using `ar' and `ranlib' in the usual manner.
You copy the file `Makefile.DLLs' to your source directory, and add the line
include Makefile.DLLs
at the very end of your Makefile, and then you type `make foo.dll'. That's it!
This will also create foo.stubs.a, which is the library that
applications that use the DLL must be linked with.
For details, caveats, and the `Makefile.DLLs' file, see the URL.
I didn't test it very well so there may well be some bugs. If so,
please let me know.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".