delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/24/07:47:48

From: drd AT sii-nh DOT com (David R. Dick)
Subject: Re: Getting Started, 'errno' problem
24 Oct 1998 07:47:48 -0700 :
Message-ID: <199810230121.UAA00272.cygnus.gnu-win32@clay.sii-nh.com>
References: <199810221843 DOT OAA01964 AT buzzword-bingo DOT mit DOT edu>
To: gnu-win32 AT cygnus DOT com

> 
> 
> Hello,
> 
> I am trying to port some C code from Unix to NT.  I have
> just installed Cygwin32 Beta19 (cdk.exe).  I then installed
> the b19.1-update (new-cygwin19_dll.gz).  Lastly, I replaced
> the Cygwin32 compiler with the egcs-1.1 compiler
> (egcs-1.1-cygb19.tar.gz).  
> 
> After each step, I have tried compiling but I continue
> to get the same problems.  1) Failure to recognize where
> gcc.exe is located (gcc: permission denied) and 2)
> undefined reference to 'errno'

Try including <errno.h>

There is some fancy defining done there because "errno"
can't be a global variable and preserve re-entrancy.

David Dick
Software Innovations, Inc.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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