delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <000001c2af8e$aae757a0$2f7f883e@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | <fabrizio_ge-wolit AT tiscali DOT it>, <cygwin AT cygwin DOT com> |
References: | <3E00A2010000CAD1 AT mail-8 DOT tiscalinet DOT it> |
Subject: | Re: Cannot use zlib with Mingw |
Date: | Sun, 29 Dec 2002 21:00:24 -0000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
fabrizio_ge-wolit AT tiscali DOT it wrote: > I was trying to compile a program which uses zlib with Mingw (i.e. > with the flag -mno-cygwin) but the compilation failed because zlib.h > could not be found. No problems with standard Cygwin compilation. > > Probably, if -mno-cygwin is used, only the directory > /usr/include/mingw is searched, /usr/include is not. Well, the flag > -I/usr/include could be added, but I am afraid some header files > could conflict. *Don't* do this. To get this to work, you will need to compile a Mingw zlib. Although Cygwin provides a minimal Mingw environment, *you cannot use libraries compiled for Cygwin in -mno-cygwin compilation*. Max. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |