Skip to content

Support for Windows on Arm #1116

Open
Open

Description

@p-b-o

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 (#1115) could be used.

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

Activity

  1. Blackhex commented on Feb 14, 2023

    @Blackhex
    Contributor

    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.

  2. p-b-o commented on Feb 14, 2023

    @p-b-o
    ContributorAuthor

    It's good to see this support coming 👍

  3. sbc100 commented on Aug 12, 2026

    @sbc100
    Collaborator

    @dschuff just reviving this old issue for 2023.

    Should we start shipping windows arm64 binaries soon, or is emulation the best option still (#1115)

  4. reopened this on Aug 12, 2026
  5. dschuff commented on Aug 12, 2026

    @dschuff
    Member

    I wouldn't mind seeing this, but it would be pretty unfortunate if we had no way to test it. It looks like there are github hosted runners avaiable now?

  6. sbc100 commented on Aug 12, 2026

    @sbc100
    Collaborator

    Yes, it looks like we could need to use github actions and now circleci for this.

  7. sbc100 commented on Aug 12, 2026

    @sbc100
    Collaborator

    How hard would the cross compile on windows be ?

  8. dschuff commented on Aug 13, 2026

    @dschuff
    Member

    I don't think it would be too bad? Probably just change the CMake platform (and maybe the MSVC environment variables, if the actual compiler is different?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions