Linking an Interpreter dynamically

Paul Duffin pduffin at mailserver.hursley.ibm.com
Mon Jun 28 08:52:50 EDT 1999


Lloyd Weehuizen wrote:
> 
> Hi!
> 
> I was just wondering if it is possible to create a dynamically linkable
> python interpreter? I've looked in the docs, but can't seem to find
> anything, and "make sharedinstall" doesn't seem to give me any linkable
> libraries??
> 

On Windows Python is built as a DLL but on Unix Python is built as an
archive library. Apparently Guido decided that he did not want to build
Python as a shared library on Unix (or even support it in the standard
installation) for some reason but I do not know why. The only reason
why it is built as a DLL on Windows is that otherwise Python could not
load dynamic extensions due to linking problems in Windows.


-- 
Paul Duffin
DT/6000 Development	Email: pduffin at hursley.ibm.com
IBM UK Laboratories Ltd., Hursley Park nr. Winchester
Internal: 7-246880	International: +44 1962-816880




More information about the Python-list mailing list