<div dir="ltr">I have this Jamroot:<div><br></div><div><div>project : requirements</div><div> "<toolset>gcc:<cxxflags>-std=c++11"</div><div> "<toolset>clang:<cxxflags>-std=c++11 -fcolor-diagnostics"</div><div>;</div><div><br></div><div>lib asmjit : : <link>shared ;</div><div>lib rejit : [ glob rejit/*.cpp ] asmjit : <include>. <link>static : : <include>. ;</div><div>exe tst : tst.cpp rejit ;</div><div><br></div><div>install bin : rejit tst ;</div><div><br></div><div>I guess it should work well...but it DOESN'T. I get this error:</div><div><br></div><div><div>ryan@DevPC-LX:~/rejit$ b2</div><div>...found 28 targets...</div><div>...updating 2 targets...</div><div>clang-linux.link bin/clang-linux-3.6.0/debug/tst</div><div>/usr/bin/ld: bin/clang-linux-3.6.0/debug/tst.o: undefined reference to symbol '__cxa_pure_virtual@@CXXABI_1.3'</div><div>//usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line</div><div>clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)</div><div><br></div><div> "/media/ryan/stuff/llvm/build/bin/clang-3.6" -o "bin/clang-linux-3.6.0/debug/tst" -Wl,--start-group "bin/clang-linux-3.6.0/debug/tst.o" "bin/clang-linux-3.6.0/debug/link-static/librejit.a" -Wl,-Bstatic -Wl,-Bdynamic -lasmjit -Wl,--end-group -g </div><div><br></div><div>...failed clang-linux.link bin/clang-linux-3.6.0/debug/tst...</div><div>...skipped <pbin>tst for lack of <pbin/clang-linux-3.6.0/debug>tst...</div><div>...failed updating 1 target...</div><div>...skipped 1 target...</div><div>ryan@DevPC-LX:~/rejit$ </div></div><div><br></div><div>Looks like Boost.Build is using clang to link tst instead of clang++. Why??</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Ryan<div><div>If anybody ever asks me why I prefer C++ to C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was nul-terminated."</div></div>Personal reality distortion fields are immune to contradictory evidence. - srean<div>Check out my website: <a href="http://kirbyfan64.github.io/" target="_blank">http://kirbyfan64.github.io/</a></div></div></div> </div></div>