building static extension modules?

Is there a way to build extension modules for static linkage and have them get incorporated into libpython2.2.a using distutils? I tried
python setup.py --help python setup.py --help-commands python setup.py build --help python setup.py build_ext --help
and also gazed briefly at the docs, but couldn't find anything.
Thx,

Skip Montanaro skip@pobox.com writes:
Is there a way to build extension modules for static linkage and have them get incorporated into libpython2.2.a using distutils? I tried
To the best of my knowledge there is no such possibility. And with the disappearance of the old Makefile.pre.in mechanism in Python 2.2, I see no simple and portable way of building an interpreter with statically linked modules at all. Definitely a loss.
Konrad.
participants (2)
-
Konrad Hinsen
-
Skip Montanaro