Compile within cygwin with -mnocygwin

Gerrit P. Haase
Wed Dec 1 16:38:00 GMT 2004


> Hello
> 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.

Yes, Cygwin Perl is compiled without this flag and so WIN32 is
not defined for Cygwin Perl.

> Should I put some special define in the Makefile to use another
> Path for includes?

You will need to use a MinGW compiled Perl.  I saw some links to
mingw-perl at the MinGW website recently where you should look to
get it.


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list