Building extensions with mingw32 -- bdist_wininst fails.

Pierre Schnizer P.Schnizer at nospam.gsi.de
Fri Aug 8 03:05:24 EDT 2003


"Chris Gonnerman" <chris.gonnerman at newcenturycomputers.net> writes:

> ----- Original Message -----
> From: "Thomas Heller" <theller at python.net>
> 
> > > I checked the archives regarding that error message and
> > > found a conversation wherein Jeremy Hylton claimed he
> > > might have added the code to detect this, and Paul Moore
> > > asked to have it removed/disabled at least for mingw32
> > > (which makes binaries 100% compatible with MSVC6).  In
> > > the case given then, the extension wouldn't build at
> > > all; now it builds but I can't make a Windows installer
> > > from it.

Please excuse, if it is a bit out topic. 

When I tried to build an extension module for Python2.2 with MingW3.0 I had
problems with the conversion of files. So

myfile = PyFile_AsFile(object);

would crash python2.2 when a standard Python2.2 was invoking an extension
module compiled with MinGW.

Do you use such conversions in your Module?

Thanks for your help
Best Regards
	Pierre




More information about the Python-list mailing list