mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 16:32:16 +00:00
45 lines
2.0 KiB
HTML
45 lines
2.0 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"
|
|
"http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<title>
|
|
Building an Extension Module
|
|
</title>
|
|
<div>
|
|
<h1>
|
|
<img width="277" height="86" id="_x0000_i1025" align="center"
|
|
src="../../../c++boost.gif" alt= "c++boost.gif (8819 bytes)">Building an Extension Module
|
|
</h1>
|
|
<p>
|
|
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:
|
|
<blockquote>
|
|
<pre>
|
|
<a href="../../../libs/python/src/extension_class.cpp">extclass.cpp</a>
|
|
<a href="../../../libs/python/src/functions.cpp">functions.cpp</a>
|
|
<a href="../../../libs/python/src/init_function.cpp">init_function.cpp</a>
|
|
<a href="../../../libs/python/src/module_builder.cpp">module.cpp</a>
|
|
<a href="../../../libs/python/src/types.cpp">newtypes.cpp</a>
|
|
<a href="../../../libs/python/src/objects.cpp">objects.cpp</a>
|
|
<a href="../../../libs/python/src/conversions.cpp">py.cpp</a>
|
|
<a href="../../../libs/python/src/classes.cpp">subclass.cpp</a>
|
|
</pre>
|
|
</blockquote>
|
|
<p>
|
|
Next: <a href="enums.html">Enums</a>
|
|
Previous: <a href="under-the-hood.html">A Peek Under the Hood</a>
|
|
Up: <a href="index.html">Top</a>
|
|
<p>
|
|
© 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.
|
|
<p>
|
|
Updated: Nov 26, 2000
|
|
</div>
|
|
|