<div dir="ltr">I have this Jamroot:<div><br></div><div><div>project : requirements</div><div>    &quot;&lt;toolset&gt;gcc:&lt;cxxflags&gt;-std=c++11&quot;</div><div>    &quot;&lt;toolset&gt;clang:&lt;cxxflags&gt;-std=c++11 -fcolor-diagnostics&quot;</div><div>;</div><div><br></div><div>lib asmjit : : &lt;link&gt;shared ;</div><div>lib rejit : [ glob rejit/*.cpp ] asmjit : &lt;include&gt;. &lt;link&gt;static : : &lt;include&gt;. ;</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&#39;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 &#39;__cxa_pure_virtual@@CXXABI_1.3&#39;</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>    &quot;/media/ryan/stuff/llvm/build/bin/clang-3.6&quot;    -o &quot;bin/clang-linux-3.6.0/debug/tst&quot; -Wl,--start-group &quot;bin/clang-linux-3.6.0/debug/tst.o&quot; &quot;bin/clang-linux-3.6.0/debug/link-static/librejit.a&quot;  -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 &lt;pbin&gt;tst for lack of &lt;pbin/clang-linux-3.6.0/debug&gt;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: &quot;It&#39;s becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don&#39;t think that was nul-terminated.&quot;</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>