<div dir="ltr"><div dir="ltr">Hello everyone,<br><br>I'm trying to compile my test.cpp for ARC, using this guideĀ <a href="https://clang.llvm.org/docs/CrossCompilation.html">https://clang.llvm.org/docs/CrossCompilation.html</a>.</div><div dir="ltr"><br class="gmail-Apple-interchange-newline"><span style="font-family:arial,helvetica,sans-serif">I've built my LLVM+CLANG with ARC, ARM and X86.</span></div><div dir="ltr"><font face="arial, helvetica, sans-serif"><br></font><font face="monospace, monospace">clang -target arc -S test.cpp</font><br>Gives me:<br><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(255,84,84)">error: </span><span style="color:rgb(0,0,0)">unknown target triple 'arc', please use -triple or -arch</span><br>
<br></span></div><div><span style="font-family:monospace">clang -targer arm </span><font face="arial, helvetica, sans-serif">works fine</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Is there any way to compile for ARC?</font></div><div><br></div></div>