Compile within cygwin with -mnocygwin

Christopher Faylor
Wed Dec 1 16:32:00 GMT 2004

On Wed, Dec 01, 2004 at 04:23:55PM +0100, BARTHEL, MATTIAS wrote:
>I am trying to compile a perl swig1.3 wrapper for a C++ lib
>using cygwin but with the compiler define -mno-cygwin.
>In perl.h there are lots of includes that cannot be found.

Right.  You have just discovered the difference between "no cygwin"
and "cygwin".  "Cygwin" provides a unix-like environment for windows.

"No cygwin" provides a windows-like environment for windows with
a few minor, cheap unixisms thrown in.  netinet/in.h, sys/ioctl.h,
etc., are not minor or cheap so they are not part of "no cygwin".


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list