[Zlib-devel] zlib 1.2.4.3 for your perusal

Vincent Torri vtorri at univ-evry.fr
Sun Apr 11 19:04:03 EDT 2010



On Sun, 11 Apr 2010, John Bowler wrote:

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

and ? why not removing -fPIC as it's useless ?

>> 2) a .so is created, no dll
>
> No, a DLL is created, it's *called* libz.so.1.2.4.3

Fuck, i know that, I saw the commands. Great... That configure script is 
just a nonsense with mingw if it does not what a usual configure script 
would do.

>> 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?

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

all the purpose of a multi platform build system is to do what a native 
build system would do. If the names are different, the options passed to 
the compiler, etc... are not correct, you have 2 solutions : either drop 
the support or fix it.

Vincent Torri




More information about the Zlib-devel mailing list