Windows support
Windows support is available; load tests have been done.
Right now, the Makefiles and setup.py should be able to deal with Version 5 call drivers and Prosody 1 as well as 6.4 call drivers and TiNG 2.
Compiling on Windows
setup.py should automatically pick up the right compiler when you have Developer Studio (whichever version that is current now).
Additional requirements
You need:
- swig
- patch
I use patch from Cygwin.
MinGW
If you don't have Developer Studio, you can use MinGW, which can also be installed via Cygwin.
If you use MinGW, you need to tell distutils. This can be done on the commandline, as in:
setup.py build_ext --compiler=mingw32
Or edit $PYTHON\Lib\distutils\distutils.cfg to contain:
[build] compiler=mingw32
Historical MinGW note
This was a bit tricky to set up, because MinGW compiled binaries link with msvcrt.dll, but python linked with msvcr71.dll.
This effectively mixed C runtimes, which is always dangerous (different implementations of malloc/free, different layout for a FILE*, etc). For pyAculab, mixing C runtimes fails very quickly (I tried).
There are a few workarounds published on the net. I followed the advice in the pygame wiki and edited the gcc spec file to replace msvcrt.dll with msvcr71.dll and rebuilt libmoldname.a.
