How to build shared boost with clang-win?
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
participants (1)
-
JR Cary