| ★ wanayoo — archive 1999 http://www.python.org/search/hypermail/python-1994q3/0187.html | Nouvelle recherche | Portail wanayoo |
- make a separate shared library for all of the common .o files
- for each .o file that's a module, when making a shared library of
it, also specify the common .so file as one of the objects to be
linked; I think this will just link stubs and automatically load the
common .so file when first used.
- the dynamic linker will (hopefully) see that the common .so file is
already loaded when you import a second module that is linked with
it (I've seen something about reference counts in its man page)
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
<URL:http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>