From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Building DLLs
25 Feb 1997 00:17:10 -0800
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199702250650.RAA05106.cygnus.gnu-win32@mundook.cs.mu.OZ.AU>
Content-Type: text
Original-To: gnu-win32 AT cygnus DOT com (gnu-win32)
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT cs DOT mu DOT oz DOT 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 AT 128 DOT 250 DOT 37 DOT 3         |     -- the last words of T. S. Garp.
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".