Shared libpython (was Re: Embedding python in .so, /libpython2.2.a not position independent (hp-ux)??

Erno Kuusela erno-news at erno.iki.fi
Wed Jan 16 06:31:46 EST 2002


In article <yox1ygq60em.fsf at karhu.tp.spt.fi>, Ville Vainio
<vvainio at karhu.tp.spt.fi> writes:

| 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
| Makefile?

the debian python packages come with libpython as shared library.  you
could look at the source package (or diff) for clues on how to do it.

  -- erno



More information about the Python-list mailing list