[cfe-dev] Building clang on Windows for MingW with CMake/Ninja

Edward Diener eldlistmailingz at tropicsoft.com
Sun Feb 2 17:28:52 PST 2014


On 1/30/2014 1:40 PM, Reid Kleckner wrote:
> I think it's because clang doesn't know about -mthreads.

Does clang/Windows using the MingW/gcc RTL support multithreading ? If 
so is there a command line option for this ?

>
>
> On Wed, Jan 29, 2014 at 11:22 PM, Edward Diener
> <eldlistmailingz at tropicsoft.com
> <mailto:eldlistmailingz at tropicsoft.com>> wrote:
>
>     When I build clang on Windows for MingW with CMake/Ninja I get from
>     Cmake:
>
>     -- Warning: LLVM will be built thread-unsafe because atomic builtins
>     are missing
>     -- Could NOT find LibXml2 (missing:  LIBXML2_INCLUDE_DIR)
>
>     The CMake setup finishes successfully. When I invoke clang++ with
>     the options:
>
>     -c -x c++ -O0 -g -fno-inline -Wall -g -mthreads
>
>     I get:
>
>     clang++.exe: error: unknown argument: '-mthreads'
>
>     Is this because of either of the problems beforehand when CMake wqas
>     used ? If so how do I correct the CMake problems ?
>
>
>
>     _________________________________________________
>     cfe-dev mailing list
>     cfe-dev at cs.uiuc.edu
>     <mailto:cfe-dev at cs.uiuc.edu>
>     http://lists.cs.uiuc.edu/__mailman/listinfo/cfe-dev
>     <http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>





More information about the cfe-dev mailing list