statically linking the entire runtime (HPUX Python2.1)

Carsten Gaebler clpy at snakefarm.org
Tue Jun 12 09:05:52 EDT 2001


I went into exactly the same problem under Linux. I'd be glad if someone
knew the answer.

cg.

cmkl wrote:
> On HP-UX I'm trying to build python2.1 without building the C-modules found
> in Modules/ as shared libraries. With the Version 2.0 this was the default.
> I played around with configure, setup.py and Modules/Setup but I always
> end up with a binary depending on various shared libraries.
> I need this, bacause I want to freeze my pythons scripts as a single binary.
> Distribution is much easier this way.
> What is the trick to do that?



More information about the Python-list mailing list