On 3/30/22 8:26 AM, Neal Gompa wrote:
The main llvm package should be capable of this already, as it's a retargetable compiler. The clang package provides a clang program that's capable of this.
The configure test in Wine disagrees:
checking for clang... clang checking whether clang works... yes checking whether the cross-compiler supports -target aarch64-windows -fuse-ld=lld -Wl,-subsystem:console... no ...snip... configure: error: PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw.
https://koji.fedoraproject.org/koji/buildinfo?buildID=1940475
https://source.winehq.org/git/wine.git/blob/HEAD:/configure.ac