[cfe-dev] Cannot compile code in arm64 machine

Arnamoy Bhattacharyya via cfe-dev cfe-dev at lists.llvm.org
Sat Dec 19 17:51:09 PST 2020


Hello;

I am trying to compile fortran code in a arm64 machine.  I built LLVM
using the -DLLVM_TARGETS_TO_BUILD="ARM;X86;AArch64" option.  But when I type:

flang --target=arm64 appft.f -o appft

I get the following error:

clang-10: error: unknown argument: '-fc1'
clang-10: error: unknown argument: '-triple'
clang-10: error: no such file or directory: 'aarch64'


Can you please tell me how to resolve this?

Thank you very much


More information about the cfe-dev mailing list