Compilar con cython y mingw produce gcc: error: opción de línea de comando no reconocida '-mno-cygwin'

Estoy tratando de compilar una extensión de python con cython en win 7 de 64 bits usando mingw (64 bits).
Estoy trabajando con Python 2.6 (Active Python 2.6.6) y con el archivo distutils.cfg adecuado (estableciendo mingw como compilador)

Cuando ejecuta

> C:\Python26\programas\Cython>python setup.py build_ext --inplace

Recibo un error que dice que gcc no tiene una opción -mno-cygwin:

> C:\Python26\programas\Cython>python setup.py build_ext --inplace
running build_ext
skipping 'hello2.c' Cython extension (up-to-date)
building 'hello2' extension
C:\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Python26\include -IC:\Python26\PC -c hello2.c -o build\temp.win-amd64-2.6\Release\hello2.o
gcc: error: unrecognized command line option '-mno-cygwin'
error: command 'gcc' failed with exit status 1

gcc es:

C:\>gcc --version
gcc (GCC) 4.7.0 20110430 (experimental)
Copyright (C) 2011 Free Software Foundation, Inc.

¿Cómo podría solucionarlo?

Respuestas a la pregunta(4)

Su respuesta a la pregunta