[Distutils] cygwin/mingw issues

Simon Burton simon at arrowtheory.com
Fri Apr 23 11:34:29 EDT 2004

I'm trying to build an extension for python2.2.2 and distutils on cygwin.

-cmingw has error:
cant compile on platform "nt" with "mingw" compiler

-ccygwin has the LONG_BIT error.. I can't even find where LONG_BIT is defined :(

This is on win98, not NT.. Any ideas?

I seem to be making some progress building this extension manually.
Looks like the -mno-cygwin option to gcc is the way to go.


Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Ph. 61 02 6249 6940

More information about the Distutils-SIG mailing list