how to build -mno-cygwin zlib dll?

david@carter.net david@carter.net
Wed Aug 1 11:24:00 GMT 2001


Trying to build a zlib dll with no dependencies on the cygwin dll. 

Using latest net release of cygwin, and cygwin port of gcc.

Would this be easier to do starting from the cygwin port of zlib's source, or from the standard zlib source? I've tried both ways, and have run into various problems.

Latest attempt, with standard zlib source dist:

dcarter@DCARTER ~/zlib-1.1.3
$ LDSHARED="gcc -shared -Wl,--enable-auto-image-base" CC=gcc CFLAGS="-fPIC -O3
-DASMV -mno-cygwin" ./configure --prefix=${HOME} --shared
Checking for shared library support...
No shared library suppport; try without defining CC and CFLAGS
Building static library libz.a version 1.1.3 with gcc.
Checking for unistd.h... No.
Checking for errno.h...  No.
Checking for mmap support... No.
Checking for underline in external names... No.


Thanks in advance for any suggestions.

-David Carter
david@carter.net


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list