'How to compile OpenSSL for ARM64 Windows

I am trying to build OpenSSL for a windows-arm64 machine.

Unfortunately, I could only find instructions on how to build it for intel architecture (and it looks like they use NASM which is intel only)...

I am quite sure that it can be built for arm64 as it can be built for android and various other arm platforms... but how to build it as a .dll for a windows arm machine?

Thanks, Cyrille



Solution 1:[1]

I could build OpenSSL 1.1.1 using vcpkg and running the Visual Studio 2022 toolchain under emulation on a Surface Pro X.

If using vcpkg is an option for you, building OpenSSL is as straightforward as typing:

vcpkg install openssl:arm64-windows

Does this help?

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 pragmanomos