$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] b2 --layout=versioned compiler tag in library filename
From: Paul Harris (harris.pc_at_[hidden])
Date: 2019-04-30 13:54:03
Hi guys,
In the past, b2 would build libraries named like so:
libboost_atomic-gcc48-mt-d-1_60.so (note -gcc48-)
I tried compiling Boost 1.66.0 (from boost-git) with gcc 8.3.0, but the
library it generates is named:
libboost_atomic-gcc-mt-d-x64-1_66.so (note the -gcc-)
No compiler version number in the tag...
I (and CMake) was expecting it to be named:
libboost_atomic-gcc83-mt-d-x64-1_66.so (note the -gcc83-)
To build, I did:
./bootstrap.sh --with-libraries="atomic"
./b2 --layout=versioned
I then downloaded the 1.70.0 tarball and compiled that,
and this time the result was:
tar xfv boost_1_70_0.tar.bz2
cd boost_1_70_0/
./bootstrap.sh --with-libraries="atomic"
./b2 --layout=versioned
ls -l stage/lib
libboost_atomic-gcc8-mt-d-x64-1_70.so
I don't see any documentation around the compiler version tag, what is the
current policy?
thanks,
Paul