Building a Module with Py_cpp
Right now, the only supported configuration is one in which the py_cpp source files are statically linked with the source for your extension module. You may first build them into a library and link it with your extension module source, but the effect is the same as compiling all the source files together. Some users have successfully built the py_cpp sources into a shared library, and support for a shared library build is planned, but not yet implemented. The py_cpp source files are:
extclass.cpp functions.cpp init_function.cpp module.cpp newtypes.cpp objects.cpp py.cpp subclass.cpp
Previous: A Peek Under the Hood Up: Top
© Copyright David Abrahams 2000. Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.
Updated: Oct 30, 2000