Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: 1 Aug 2001 11:24:28 -0700 Message-ID: <20010801182428.22897.cpmta@c000.snv.cp.net> X-Sent: 1 Aug 2001 18:24:28 GMT Content-Type: text/plain Content-Disposition: inline Mime-Version: 1.0 To: cygwin@cygwin.com From: david@carter.net X-Mailer: Web Mail 3.9.3.5 X-Sent-From: david@carter.net Subject: how to build -mno-cygwin zlib dll? 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/