Python, VC++, and Mingw32

Norman Vine nhv at cape.com
Fri Aug 11 11:13:39 EDT 2000


Tim Peters wrote
> [Hookflash]
> > Doesn't it seem strange that Python, a free *open source* project,
> > doesn't officially support any of the free win32 compilers?
>
> Beyond that, it's exactly as strange as that nobody using the free Win32
> compilers has thought it worth their time to contribute patches to make it
> possible for others to do so.  It's not like there's a policy against
other
> compilers; what you get, in a FOSP, is what others have contributed.

Here is the entry from the change log for Python
>From 1.5.2c1 to 1.5.2 (final)

Tue Mar 23 19:00:55 1999  Guido van Rossum

 * Modules/Makefile.pre.in:
 Add $(EXE) to various occurrences of python so it will work on Cygwin
 with egcs (after setting EXE=.exe).  Patch by Norman Vine.

So to compile python 1.52 with Cygwin using
B20.1 gcc-2.95.2
or >V1.1.1

while in bash shell
%cd $PY_SRC
% export EXE='.exe'
%./configure --with-out-threads
%make

The 2.0 files need a couple of more tweaks

but-nothing-that-shoudn't-be-obvious-to-a-FSOP-Cygwin'er-ly yr's

 - Norman






More information about the Python-list mailing list