[Zlib-devel] DLL build for zlib-1.2.5, patch 1

Cosmin Truta cosmin at cs.toronto.edu
Fri Aug 6 11:09:26 EDT 2010


Oops: I sent this message from the wrong account and it didn't make it
to the list.
I was wondering why nobody seemed interested...


---------- Forwarded message ----------
From: Cosmin Truta
Date: Thu, Aug 5, 2010 at 1:50 AM


Dear zlibbers,

zlib125-dll-patch1.zip is available at
http://cosmin.users.sourceforge.net/testing/zlib125-dll-patch1.zip

Mark, you may release it, and feel free to give it a better name, if
this one isn't self-descriptive or imaginative enough.

It's the same old package, to which I added Gilles' VS2010-built implib.
The modifications are mentioned in the README file.

Many thanks to John Bowler for testing, and also for his thorough analysis.

> I used Cygwin ar to examine the contents of both libraries.  The MinGW one
> contains a series of COFF object modules, apparently one for each entry
> point.  The Microsoft one contains three COFF modules at the start, however
> the remainder are simply chunks of data.  These files are all about 40 bytes
> long and consist of 20 bytes of numbers followed by the null terminated name
> of the entry point followed by the null terminated name of the DLL
> (zlib1.dll).  Presumably that data is understood by the Microsoft linker.

Yes, the data is understood by the Microsoft linker... Sigh...
I thought MinGW can be a one-stop shop that'll do what's needed, and
we won't need anymore the awkward two-tool combination that we used to
use around zlib-1.2.3. It seems we need another, even more awkward
two-tool combination now.

Best regards,
Cosmin




More information about the Zlib-devel mailing list