Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT 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 AT cygwin DOT com From: david AT carter DOT net X-Mailer: Web Mail 3.9.3.5 X-Sent-From: david AT carter DOT 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 AT 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 AT carter DOT 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/