Updated compile tools for egcs/mingw32

Robert Kern kernr@mail.ncifcrf.gov
Tue, 27 Jul 99 15:27:58 GMT


Hello all,

compmgw.py and makemgw.py are Python scripts that ease the compilation
of Python extensions on Win32 using the free egcs 1.1.2 compiler on
the i386-mingw32 target.

compmgw.py processes a Setup file and generates a Makefile that will
compile your extension.

makemgw.py processes a Setup file but runs the compiler commands
itself and bypasses the Makefile.  It uses a very simple (and probably
inefficient and wrong) dependancy checker to generate the list of
commands to run.

WARNING: The code in both of these modules is incredibly bad.  "hacks
upon hacks upon hacks" sums up the state of these scripts pretty well.
Do not read them if you have a heart condition.  *Please* don't use
them for anything else.  Instead join the distutils-SIG and work with
them to create a general mechanism.

Both of these scripts will be dropped unceremoniously once the
distutils-SIG gets far enough in its work.

The scripts are available separately:
  * http://starship.python.net/crew/kernr/mingw32/compmgw.py
  * http://starship.python.net/crew/kernr/mingw32/makemgw.py

or together with other tools:
  * http://starship.python.net/crew/kernr/mingw32/Py-mingw32-tools.zip

Robert Kern

<P><A HREF="http://starship.python.net/crew/kernr/mingw32/Notes.html">
Updated compile tools for egcs/mingw32</A> - updated scripts to parse
Setup files for compiling on Win32 systems with egcs/mingw32.  (27-Jul-99)

-- 
----------- comp.lang.python.announce (moderated) ----------
Article Submission Address:  python-announce@python.org
Python Language Home Page:   http://www.python.org/
Python Quick Help Index:     http://www.python.org/Help.html
------------------------------------------------------------