delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/13/17:22:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Authentication-Warning: abomination.cygnus.com: mdejong owned process doing -bs
Date: Thu, 13 Apr 2000 15:21:45 -0700 (PDT)
From: Mo DeJong <mdejong AT cygnus DOT com>
To: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Mingwin does not seem to know where its headers live.
In-Reply-To: <200004131818.NAA23577@hp2.xraylith.wisc.edu>
Message-ID: <Pine.LNX.4.10.10004131515070.27667-100000@abomination.cygnus.com>
MIME-Version: 1.0

On Thu, 13 Apr 2000, Mumit Khan wrote:

> Mo DeJong <mdejong AT cygnus DOT com> writes:
> > I am trying to compile this code.
> > 
> > BASH.EXE-2.03$ cat WIN32.C
> > #include <string.h>
> > #include <direct.h>
> > 
> > int main(int argc, char ** argv) {
> >     strcpy(NULL,NULL);
> >     mkdir(NULL);
> >     return 0;
> > }
> > 
> > 
> > When I build with mingwin, it bails out
> > saying it can not find direct.h.
> > 
> > BASH.EXE-2.03$ gcc -mno-cygwin -c WIN32.C
> > WIN32.C:2: direct.h: No such file or directory

I was using a pre release of the new "net release" of cygwin.
The strange thing is, I have also seen this problem in the
B.20 release on 95 and an internal cygwin-991019 release that
I had installed on a NT box.

> Sorry, but this report provides me with no information that
> may help tracking down the problem.
> 
> You need to tell us what version of gcc, and provide some information 
> on what version Cygwin, and if you're using a Cygwin snapshot vs one
> of the released versions, and so on. At the very least, look at the 
> output of:

I will be sure to run this when I get home tonight. I have the
net release installed on my laptop at home.

>   BASH.EXE-2.03$ gcc -v -mno-cygwin -c WIN32.C
> 
> -mno-cygwin uses some internal magic to find the path to the Mingw
> includes, and obviously it's failing here. Hopefully the -v option
> will point us in the right direction.
> 
> Regards,
> Mumit

Mo Dejong
Red Hat Inc.



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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