This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Building DLLs


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]