[issue10914] Python sub-interpreter test

Éric Araujo report at bugs.python.org
Fri Mar 18 00:36:41 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

distutils sure knows how to build .o or .so files, but I don’t know about standalone executables (because I don’t know how the .o end up making an executable).  If you want to try to do it, I would advise you not to use the config command but rather a compiler object directly.  distutils.ccompiler.new_compiler() should give you an instance of a subclass of distutils.ccompiler.CCompiler suitable for your system, and then you can use help or the source to find what methods to call.

----------
nosy: +eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10914>
_______________________________________


More information about the Python-bugs-list mailing list