# Building an Extension Module

Right now, the only supported configuration is one in which the BPL 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 sources into a shared library, and support for a shared library build is planned, but not yet implemented. The BPL source files are:

>     extclass.cpp
>     functions.cpp
>     init_function.cpp
>     module.cpp
>     newtypes.cpp
>     objects.cpp
>     py.cpp
>     subclass.cpp

Next: Enums 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: Nov 26, 2000