emscripten-core / emsdk

Emscripten SDK
http://emscripten.org
Other
3.04k stars 695 forks source link

Support for Windows on Arm #1116

Open pbo-linaro opened 2 years ago

pbo-linaro commented 2 years ago

When calling emsdk.bat with an arm64 python, it fails with following error:

$ file $(which python)
/c/wenv/arm64/python/tools/python: PE32+ executable (console) Aarch64, for MS Windows
$ cmd.exe /c 'emsdk.bat install latest'
Resolving SDK alias 'latest' to '3.1.23'
Resolving SDK version '3.1.23' to 'sdk-releases-upstream-bfd5e63a44ba4c8568cd8ac87c27b35e40732bf4-64bit'
error: tool or SDK not found: 'sdk-releases-upstream-bfd5e63a44ba4c8568cd8ac87c27b35e40732bf4-64bit'

Since this platform is not yet supported, this workaround (https://github.com/emscripten-core/emsdk/pull/1115) could be used.

Beyond that, it would be nice to offer a native toolchain for this new platform.

Blackhex commented 1 year ago

JFYI, we have work on providing the pre-build Windows Arm64 binaries in progress. The first upstream PR regarding this can be found at #1186.

pbo-linaro commented 1 year ago

It's good to see this support coming :+1: