I guess you'd first work out what support distutils has for building with GCC on Windows, then you'd look at setup.py to see how you would adapt that. Personally I've never used GCC on Windows and have no idea why anyone would want to, so have no interest in this whatsoever.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok, distutils supports 'cygwinccompiler', and just for the record: GCC is heavily used in Cygwin (no 'msvc9compiler' whatsoever), and offers an additional Unix-like compatibility layer, what in turn opens a wide gate for Unix-like programs to run them on Windows with no or little code modification. That is, Cygwin+GCC => Windows+Unix (and you still can compile Windows-only programs with MSVC, and maybe, just may-be, run them on Unix also)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Patches welcome!
any ideas what to look at?
I guess you'd first work out what support distutils has for building with GCC on Windows, then you'd look at setup.py to see how you would adapt that. Personally I've never used GCC on Windows and have no idea why anyone would want to, so have no interest in this whatsoever.
ok, distutils supports 'cygwinccompiler', and just for the record: GCC is heavily used in Cygwin (no 'msvc9compiler' whatsoever), and offers an additional Unix-like compatibility layer, what in turn opens a wide gate for Unix-like programs to run them on Windows with no or little code modification. That is, Cygwin+GCC => Windows+Unix (and you still can compile Windows-only programs with MSVC, and maybe, just may-be, run them on Unix also)