[llvm-dev] How to cross-compile for ARC in clang?
Krzysztof Parzyszek via llvm-dev
llvm-dev at lists.llvm.org
Thu Sep 27 04:46:21 PDT 2018
On 9/27/2018 6:40 AM, Павел Безбородов via llvm-dev wrote:
>
> 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?
Could you run "llc --version"? It should print all targets that were
built. Arc is an experimental target, did you use
LLVM_EXPERIMENTAL_TARGETS_TO_BUILD?
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list