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 - http://www.mojam.com/)

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. -- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------------

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. -- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsen@cnrs-orleans.fr Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------------
participants (2)
-
Konrad Hinsen
-
Skip Montanaro