Message40245
Logged In: YES
user_id=14198
OK - here is a new ambitious patch ;) It attempts to
rationalize all platforms, not just the PC.
* pyport.h now sets up most of the import/export magic. It
looks for Py_ENABLE_SHARED and Py_BUILD_CORE (both new
macros) that control the behaviour.
* Py_ENABLE_SHARED has been added to pyconfig.h.in and
configure.in, so that this macro is created in pyconfig.h
whenever '--enable-shared' is passed to configure.
Py_BUILD_CORE is passed via a "/D" option only when the core
itself is built (ie, not extensions etc)
* PC/pyconfig.h has been rationalized heavily.
* A couple of places in the core have been changed to use
the new macros - more to test that it actually works.
This has been tested on Windows using MSVC, Windows using
cygwin/gcc, and RH7 linux. I consider it basically "done"
so please comment away. |
|
Date |
User |
Action |
Args |
2007-08-23 15:13:33 | admin | link | issue566100 messages |
2007-08-23 15:13:33 | admin | create | |
|