Compiling Win32 Python Extensions with EGCS

Robert Kern kernr at mail.ncifcrf.gov
Sat Jul 10 16:50:12 EDT 1999


I have established a set of instructions and notes for compiling
Python extensions with the free EGCS compiler suite with the mingw32
target.  EGCS is the "experimental" development branch of the GCC
compiler.  The next version will be the official GCC-2.95.  Mumit Khan
has ported EGCS 1.1.2 (the current release) to Win32 systems.  See

    http://wwww.xraylith.wisc.edu/~khan/software/gnu-win32

for more information on this port.

If you just want the instructions and the necessary tools, go to my
web page:

    http://starship.python.net/crew/kernr/mingw32/Notes.html

Many thanks to Paul Sokolovsky for his groundbreaking work on porting
the Python headers to be used by EGCS/mingw32.

NOTE: The mingw32 target does not use Cygnus Solution's Cygwin
portability layer.  Programs compiled for the mingw32 target use the
system's C runtime DLL (for Python extensions, this is MSVCRT.DLL) and
not the Cygwin DLL.  Python extensions compiled as I describe do *not*
automatically fall under the GPL.

I, Robert Kern, may be reached at <kernr at ncifcrf.gov>.

Robert Kern           |
----------------------|"In the fields of Hell where the grass grows high
This space            | Are the graves of dreams allowed to die."
intentionally         |           - Richard Harter
left blank.           |




More information about the Python-list mailing list