
Hello Boris,
On 10/3/07, Boris
According to http://blogs.sun.com/sga/entry/boost_mini_howto "upcoming Boost 1.34 works with Sun C++ well out of the box" - can anyone confirm this? I'm trying to upgrade from Boost 1.33.1 to Boost 1.34.1 on Solaris 10/SPARC but ran into problems with both CC (Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25) and g++ 3.4.6.
With "./bjam --toolset=sun stage" I see this error (among others):
I think you need to compile with STLPort instead of Sun's default STL
implementation for boost. Check out Simon's newer postings regarding
boost on Solaris http://blogs.sun.com/sga/category/Boost .
I was able to compile boost 1.34.1 on Solaris 10 (sparc) using Sun C++
5.9 as well as gcc 3.4.6.
1. For Sun C++ 5.9: I can't remember if I had to change any jam
configs but here are the bjam command-line options I've used:
/path/to/boost-build/bin/bjam --build-dir=/path/to/build.suncc12 \
--stagedir=/path/to/stage.suncc12 \
toolset=sun
stdlib=sun-stlport -j2 -d2 stage
2. For gcc 3.4.6: You need to create a user-config.jam file with the
following settings (adjust the compiler flags to your arch,
$BOOST_SRC_ROOT is the directory were the extracted boost source
resides):
cat > $BOOST_SRC_ROOT/user-config.jam <