[llvm-dev] How to cross-compile for ARC in clang?

Павел Безбородов via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 27 04:40:43 PDT 2018


Hello everyone,

I'm trying to compile my test.cpp for ARC, using this guide
https://clang.llvm.org/docs/CrossCompilation.html.

I've built my LLVM+CLANG with ARC, ARM and X86.

clang -target arc -S test.cpp
Gives me:
error: unknown target triple 'arc', please use -triple or -arch

clang -targer arm works fine

Is there any way to compile for ARC?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180927/f5302aa5/attachment.html>


More information about the llvm-dev mailing list