<div dir="ltr"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">[haze@haze-pc bin]$ ./llc --version
</span><br>LLVM (<a href="http://llvm.org/">http://llvm.org/</a>):
<br>  LLVM version 6.0.0
<br>  DEBUG build with assertions.
<br>  Default target: x86_64-unknown-linux-gnu
<br>  Host CPU: skylake
<br>
<br>  Registered Targets:
<br>    arc    - ARC
<br>    x86    - 32-bit X86: Pentium-Pro and above
<br>    x86-64 - 64-bit X86: EM64T and AMD64<br></span><div><span style="font-family:monospace"><br></span></div><div><font face="arial, helvetica, sans-serif">yes, I've set </font>LLVM_EXPERIMENTAL_TARGETS_TO_BUILD=ARC</div></div><br><div class="gmail_quote"><div dir="ltr">чт, 27 сент. 2018 г. в 14:46, Krzysztof Parzyszek via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 9/27/2018 6:40 AM, Павел Безбородов via llvm-dev wrote:<br>
> <br>
> I've built my LLVM+CLANG with ARC, ARM and X86.<br>
> <br>
> clang -target arc -S test.cpp<br>
> Gives me:<br>
> error: unknown target triple 'arc', please use -triple or -arch<br>
> <br>
> clang -targer arm works fine<br>
> <br>
> Is there any way to compile for ARC?<br>
<br>
Could you run "llc --version"? It should print all targets that were <br>
built. Arc is an experimental target, did you use <br>
LLVM_EXPERIMENTAL_TARGETS_TO_BUILD?<br>
<br>
-Krzysztof<br>
<br>
-- <br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,<br>
hosted by The Linux Foundation<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>