Compile within cygwin with -mnocygwin
Gerrit P. Haase
Wed Dec 1 16:38:00 GMT 2004
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.
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin