distutils, C extensions, Borland compiler, wxPython

Gerhard Häring gh_pythonlist at gmx.de
Tue Feb 5 15:00:55 EST 2002


Le 05/02/02 à 15:07, Anders J. Munch écrivit:
> Hi,
> 
> I have built Python from source on Win2K using cygwin except with a
> Borland compiler (BCB4) instead of gcc.  It took a fair amount of
> hacks to get the configure script and makefiles to work (s/.o/.obj/ is
> just the beginning) but it was worth it.

I' currently doing something similar with mingw32 instead of Cygwin :-)

The real question is if you can use dynamically loaded extension modules
at all if you have all of the Python core in a python.exe.

I think I have heard something to the effect, that on Windows, DLLs
can't link back to .EXEs, only to other DLLs.

Which would mean that you can either build a python{major}{minor}.dll or
you compile every single extension module (i. e. all of wxPython, for
example) into one big python.exe.

Gerhard
-- 
This sig powered by Python!
Außentemperatur in München: 10.3 °C      Wind: 3.0 m/s




More information about the Python-list mailing list