I was living under the impression that the extensions should be built with the same compiler as python was built.
That's easiest, but ironically, while it's hard to build extensions with a different version of the MS compiler, it's not too bad hard to use MingGW -- it's been a while wince I've done it though.
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
It will take some hacking in setup.py and config.py, but I expect that
it is possible. If you get it working please send me patches.
I was living under the impression that the extensions should be built with the same compiler as python was built.
Could I use for example VC++ 6 to build wxpython or other extensions for python 2.4 or 2.5?
As long as you build Python too (plus any other extensions that you use.) The issue is the difference in the C runtime DLL that the different compilers use. Since the DLL version is linked to by Python itself, and also all the binary extensions, then they all need to use the same one, and each major version of the MSVC compiler provides a different C runtime. Other Windows compilers, such as mingw32, can be told to use those same runtime libs, so as long as you can get the combination right they should work.
···
On 10/26/06, *Robin Dunn* <robin@alldunn.com <mailto:robin@alldunn.com>> > wrote:
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
As long as you build Python too (plus any other extensions that you
use.) The issue is the difference in the C runtime DLL that the
different compilers use. Since the DLL version is linked to by Python
itself, and also all the binary extensions, then they all need to use
the same one, and each major version of the MSVC compiler provides a
different C runtime. Other Windows compilers, such as mingw32, can be
told to use those same runtime libs, so as long as you can get the