mirror of https://github.com/CGAL/cgal
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:
parent
c8cacc83c0
commit
40f3e21e3e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue