Problem using pexports & Cygwin to build Python 2.2 extension modules

Jason Tishler jason at tishler.net
Mon Mar 18 07:49:19 EST 2002


Les,

On Mon, Mar 18, 2002 at 11:57:14AM +0100, Anton Vredegoor wrote:
> On Sun, 17 Mar 2002 15:21:19 GMT, "Les Button" <lbut at stny.rr.com> wrote:
> >$ python setup.py build --compiler=cygwin
> 
> try:
> 	setup.py build --compiler=mingw32

I concur with Anton that the "--compiler=mingw32" is required to build
Win32 Python extensions with Cygwin gcc -mno-cygwin.

FWIW, this is how I build the Win32 Python readline extension.

Jason




More information about the Python-list mailing list