Hi Joel, Are you using clang-cl.exe as compiler/linker driver? It’s easiest to use clang-cl.exe as it aims to be a direct replacement for MSVC’s cl.exe, but will use LLVM tools. In particular, when clang-cl.exe uses LLVM Linker (LLD) by default.
If you are using linux-style clang.exe as the driver, then you need to specify -fuse-ld=lld to use LLD. Does this help? Regards, -- Maxim Kuvyrkov https://www.linaro.org > On 4 Mar 2021, at 19:11, Joel Cox <joel....@arm.com> wrote: > > Hi > > I've been trying to run clang on a Windows on Arm machine, but it keeps > trying to using the link.exe located in "Visual studio/..../Host64/arm64", > which is (seemingly) an x64 tool and as such doesn't run, and crashes the > process. > Is there a way to set clang to look at VS's x86 link.exe? Or if there is an > arm64 version that clang should be using instead? > > Thanks, > Joel > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > _______________________________________________ > linaro-toolchain mailing list > linaro-toolchain@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/linaro-toolchain _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-toolchain