[Zlib-devel] zlib 1.2.4.3 for your perusal

John Bowler jbowler at frontiernet.net
Sun Apr 11 13:49:43 EDT 2010


From: Vincent Torri
>it does not work for me with MinGW on Windows. I just did:
>1) -fPIC is used

That's a warning.

>2) a .so is created, no dll

No, a DLL is created, it's *called* libz.so.1.2.4.3

>3) afaik, ranlib is named windres on Windows, no ?

Ranlib isn't called; just ar: I thought the GNU archive tool never required the ranlib (or tsort/lorder) stuff?

It works because 'make test' succeeds on all three tests (on my 64bit Windows7 system.)

If you don't like the names, or the install directories, they can be overridden trivially in the MINGW case (and the Cygwin case probably needs similar treatment.)  I didn't attempt to fix that when I supplied the patch - I just wanted to make it work.  It would certainly be a good idea if the two ways of building on MinGW produced the same result.

John Bowler <jbowler at acm.org>






More information about the Zlib-devel mailing list