Skip to content

Commit f6f4e59

Browse files
committed
Add notes about targeting Cygwin GCC
[SVN r16380]
1 parent 60924e8 commit f6f4e59

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

doc/building.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ <h2>Contents</h2>
4141

4242
<dt><a href="#results">Results</a></dt>
4343

44+
<dt><a href="#cygwin">Notes for Cygwin GCC Users</a></dt>
45+
4446
<dt><a href="#testing">Testing</a></dt>
4547
</dl>
4648
</dd>
@@ -171,6 +173,27 @@ <h3><a name="configuration">Configuration</a></h3>
171173
</tr>
172174
</table>
173175

176+
<h3><a name="cygwin">Notes for Cygwin GCC Users</a></h3>
177+
178+
<p>If you are using Cygwin GCC to build extension modules, you
179+
must use a Cygwin build of Python. The regular Win32 Python
180+
installation that you can download from <a
181+
href="http://www.python.org">python.org</a> will not work with
182+
your compiler because the dynamic linking conventions are
183+
different (you can use <a href="http://www.mingw.org/">MinGW</a>
184+
GCC if you want to build extension modules which are compatible
185+
with a stock Win32 Python). The Cygwin installer may be able to
186+
install an appropriate version of Python, or you can follow the
187+
traditional <a
188+
href="http://www.python.org/download/download_source.html">Unix
189+
installation process</a> to build Python from source.
190+
191+
<p>The special build configuration variables listed above as
192+
&quot;Cygwin only&quot; make it possible to use a regular Win32
193+
build of bjam to build and test Boost.Python and Boost.Python
194+
extensions using Cygwin GCC and targeting a Cygwin build of Python.
195+
196+
174197
<h3><a name="results">Results</a></h3>
175198

176199
<p>The build process will create a

0 commit comments

Comments
 (0)