Shared libpython (was Re: Embedding python in .so, /libpython2.2.a not position independent (hp-ux)??
Oleg Broytmann
phd at phd.pp.ru
Wed Jan 16 06:11:28 EST 2002
On Wed, Jan 16, 2002 at 12:44:00PM +0200, Ville Vainio wrote:
> So, would I be severely punished for forcing gcc to compile all objs
> to -fPIC by putting that option to OPT variable of the ./configure'd
I don't think so. I think you'll get minor performance penalty, but
pretty minor (2%). Well, I know only Linux and Solaris, so beware.
> Makefile? Afterwards, I would extreact all the objs w/ ar and
> repackage them in a shared library. Does this break any modules? I'm
> concerned about xml.dom.minidom (which uses expat) in particular.
Should not break anything.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list