<div dir="ltr">I think it's because clang doesn't know about -mthreads.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 29, 2014 at 11:22 PM, Edward Diener <span dir="ltr"><<a href="mailto:eldlistmailingz@tropicsoft.com" target="_blank">eldlistmailingz@tropicsoft.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When I build clang on Windows for MingW with CMake/Ninja I get from Cmake:<br>
<br>
-- Warning: LLVM will be built thread-unsafe because atomic builtins are missing<br>
-- Could NOT find LibXml2 (missing:  LIBXML2_INCLUDE_DIR)<br>
<br>
The CMake setup finishes successfully. When I invoke clang++ with the options:<br>
<br>
-c -x c++ -O0 -g -fno-inline -Wall -g -mthreads<br>
<br>
I get:<br>
<br>
clang++.exe: error: unknown argument: '-mthreads'<br>
<br>
Is this because of either of the problems beforehand when CMake wqas used ? If so how do I correct the CMake problems ?<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>