[f2py] -mno-cygwin
Steve Westenbroek
smwesten at usgs.gov
Fri Oct 15 18:37:12 EEST 2010
Greetings,
I recently upgraded my compiler to gcc/gfortran version 4.6.0 20101009,
running under MSYS/MinGW.
Before the upgrade, f2py happily compiled my fortran code into a Python
module. Following the upgrade, f2py fails with the following message:
Found executable C:\MinGW\bin\gcc.exe
cc1.exe: error: unrecognized command line option '-mno-cygwin'
error: Command "gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes [snip]"
failed with exit status 1
Given that the "-mno-cygwin" flag is apparently obsolete (and redundant
under MinGW), how can I force f2py to stop tacking it on when attempting
to compile a module?
Thanks,
- Steve
More information about the f2py-users
mailing list