I'm trying to compile a python extension with cython in win 7 64-bit using mingw (64-bit). I'm working with Python 2.6 (Active Python 2.6.6) and with the adequate distutils.cfg file (setting mingw as the compiler) When executing > C:\Python26\programas\Cython>python setup.py build_ext --inplace I get an error saying that gcc has not an -mno-cygwin option: > C:\Python26\programas\Cython>python setu
![Compiling with cython and mingw produces gcc: error: unrecognized command line option '-mno-cygwin'](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)