delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/04/05/15:09:47

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 5 Apr 2000 15:09:26 -0400
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: mingw using wrong errno definition
Message-ID: <20000405150926.A2305@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com
References: <20000405071501 DOT 75956 DOT qmail AT hotmail DOT com> <200004051520 DOT KAA21454 AT hp2 DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.1.8i
In-Reply-To: <200004051520.KAA21454@hp2.xraylith.wisc.edu>; from khan@NanoTech.Wisc.EDU on Wed, Apr 05, 2000 at 10:20:32AM -0500

On Wed, Apr 05, 2000 at 10:20:32AM -0500, Mumit Khan wrote:
>This is typical of code that declares it's own errno instead of using the
>declaration from system headers. I'm assuming of course that *all* code
>here is built using -mno-cygwin so that there's no mix-and-match.
>
>Search for `extern.*int.*errno' in your code. If there is such a thing,
>delete and include <errno.h> for both Cygwin and Mingw.

I'm pretty sure that the zlib code is doing the right thing.

>If that's not the case, please send me a download URL for the code or
>just email me the package (.tar.gz) if it's under a meg or so.

It's in CVS winsup/cinstall.  I think the problem is due to the fact
that zlib was compiled by cd'ing to the directory, as I mentioned in
another thread.  Compiling it from the winsup/cinstall directory should
rectify the problem.

cgf

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019