[C++-sig] RE: Problems building boost.python under cygwin
Scott A. Smith
ssmith at magnet.fsu.edu
Mon Nov 11 16:13:16 CET 2002
After reading the message by Claudius Schnörr I tried compiling Boost.Python
again under Cygwin. I had not done this since CygWin switched to gcc-3.2.
At first it failed, but I recall that there was an upgrade to their GCC a
day or so ago. After upgrading, it worked fine. So with 1.) The latest
distribution of Python
(which is 1.29.0), 2.) With the latest bjam for Windows (not Cygwin), 3.)
The latest gcc/binutils from Cygwin,
Boost.Python compiled for me just fine. There was one warning about an
../src/object/inheritance.cpp:217: warning: unused variable
As for how the build was accomplished:
1.) I worked in a bash shell (from Cygwin)
2.) I put bjam.exe in /usr/local/bin (in my path)
3.) I changed into the BOOST/libs/python/build subdirectory
4.) I set my environment with the following (reflects where I have installed
5.) I ran "bjam -sTOOLS=gcc -sBUILD=release"
I have not tested the build yet, but everything looks fine.
More information about the Cplusplus-sig