Building Python statically on linux

Christian Heimes lists at cheimes.de
Fri Dec 28 08:44:56 EST 2007


Micah Elliott wrote:
 > Doing that (or CFLAGS=-static, or LDFLAGS=-static, or other Makefile
> tweaks) gets me linker errors.  Sounds like there's not a simple
> prescribed means to do this (that anyone has documented).  So now I'm
> open to hearing about other hacks people have done to get this to
> work.  (Hopefully a config weenie heard my plea for --enable-all-
> static)

Can you work on the topic and write a small howto for your wiki
(http://wiki.python.org/moin/)? You have to modify Modules/Setup.local,
too. Read Modules/Setup for more information.

Christian




More information about the Python-list mailing list