[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] Building clang on Windows for MingW with CMake/Ninja
From:       Reid Kleckner <rnk () google ! com>
Date:       2014-01-30 18:40:49
Message-ID: CACs=tyJTiphOk-ZuWAN2yj1gnrMU0d=aMYidDvRMgP=LLAq8cg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I think it's because clang doesn't know about -mthreads.


On Wed, Jan 29, 2014 at 11:22 PM, Edward Diener <
eldlistmailingz@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@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>

[Attachment #5 (text/html)]

<div dir="ltr">I think it&#39;s because clang doesn&#39;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">&lt;<a \
href="mailto:eldlistmailingz@tropicsoft.com" \
target="_blank">eldlistmailingz@tropicsoft.com</a>&gt;</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: &#39;-mthreads&#39;<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>



_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic