Recompile Boost libraries with g++-4.5

On that machine, I use g++-4.5, 4.6, and 4.7. If I compile the Boost
libraries with the oldest compiler, the binary compatibility is ensured,
because the soname of libstd++ is libstdc++.so.6 for all of those
compilers (but the binary compatibility is only ensured backward: if a
Boost library is compiled with g++-4.6, that does not work if it is after
linked with libstdc++ of g++-4.5).
This commit is contained in:
Laurent Rineau 2012-04-12 11:45:31 +00:00
parent c8cacc83c0
commit 40f3e21e3e
2 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if [ ! -x $BJAM ]; then
BJAM=bjam
fi
"$BJAM" $OPTS toolset=gcc-4.6.3
"$BJAM" $OPTS toolset=gcc-4.5.4
"$BJAM" --stagedir=stage-cxxdebug $OPTS toolset=gcc-cxxdebug
source ~/infrastructure/reference-platforms/x86-64_Linux-2.6_IntelCompiler-12.0-with-g++-4.6.2_F16/setup

View File

@ -44,6 +44,8 @@
# Configure specific gcc version, giving alternative name to use.
# using gcc : 3.2 : g++-3.2 ;
# G++ 4.5
using gcc : : /usr/local/packages/gcc-4.5/bin/g++ ;
# -------------------
# MSVC configuration.