[Zlib-devel] zlib-1.2.4 build failure on MSYS/1.0, MinGW (gcc 3.4.5)

John Bowler jbowler at frontiernet.net
Sun Mar 28 04:16:36 EDT 2010


From: Mark Adler
[problem building on MSYS/MinGW]
>Does the patch below fix it?
[patch adds MINGW* to the CYGWIN line]

In a sense that fixes it; it removes the ability to build the shared library.  Without the fix ./configure gives me:

Checking for shared library support...
Building shared library libz.so.1.2.4 with gcc.

Then 'make' builds -DPIC (with '-fPIC' being warned because "all code is position independent") and the gcc -shared step fails as I reported before (simply because of the -lc).  With the configure change I get:

Checking for shared library support...
No shared library support.

And no attempt is made to use the '$(SHAREDLIBV):' rule so it doesn't fail...

There *is* shared library support on MSYS/MinGW.

John Bowler <jbowler at acm.org>





More information about the Zlib-devel mailing list