|
Boost Users : |
Subject: [Boost-users] How to build shared boost with clang-win?
From: JR Cary (cary_at_[hidden])
Date: 2018-06-03 13:25:10
Windows 7
VSS2017 (1911)
LLVM-6.0.0-win64
./bootstrap.bat (works)
./b2 -d+2 -q toolset=clang-win runtime-link=shared link=shared
cxxflags='/std:c++14 /EHsc /MD' address-model=64 threading=multi
variant=release -s NO_COMPRESSION=1 --layout=system --abbreviate-paths
-j1 --without-python --without-mpi --without-log --without-math stage
fails at
clang-linux.link.dll
bin.v2\libs\atomic\build\clng-lnx-win\rls\thrd-mlt\boost_atomic.dll
   "clang++"  -o
"bin.v2\libs\atomic\build\clng-lnx-win\rls\thrd-mlt\boost_atomic.dll"
-Wl,-soname -Wl,boost_atomic.dll -shared -Wl,--start-group
"bin.v2\libs\atomic\build\clng-lnx-win\rls\thrd-mlt\lockpool.obj"
-Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-group -m64 -pthread
It looks like clang-win is trying to use clang++ to link? Should it no
use clang-cl?
Thanks....John Cary
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net