This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Getting Started, 'errno' problem


> 
> 
> 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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]