The answer to this question. How to compile / link Boost with clang ++ / lib ++? claims that to build Boost with clang++ and libc++ following should be done:
./b2 clean ./b2 toolset=clang cxxflags="-stdlib=libc++" linkflags="-stdlib=libc++"
I tested the above tip on a Scientific Linux 6.4 x86_64 host, and it works "mostly" by creating the full Boost 1_53_0 distribution with clang++ 3.3sv and libc++ 3.3svn . I said mostly, since I really like to remove all libstdc++ dependencies.
However, the following:
libboost_graphlibboost_localelibboost_regex
still showing libstdc++ dependencies ( ldd output makes this very obvious). I would like to know a good way to remove such and would appreciate any hint.
user183394
source share