Skip to content

Roadmap: native ARM64 toolchain (w64devkit-arm64, aarch64-w64-mingw32) #307

@skeeto

Description

@skeeto

Due to Windows' built-in, transparent x86/x64 emulation — which is honestly quite impressive! — w64dk already works out-of-the-box on ARM64, if with a performance penalty. (Though busybox-w32 in emulation thinks the user is named root? This needs investigation.) GCC 15 has partial, tentative support for aarch64-w64-mingw32. So perhaps it's time to explore an ARM64 toolchain. Lacking C++ exceptions, initial attempts will likely only support C. This issue is an open invitation to try it out and report results/findings.

Will the lack of C++ exceptions interfere with the ARM64 cross-builds of GCC, GDB, and 7z SFX? These are written in C++. Can GDB even debug Windows ARM64 targets (current guess: no)? I won't consider it ready, even with just a C toolchain, without a working debugger. If these components cannot be compiled for ARM64, perhaps they remain x64 such that it's actually a C cross-toolchain hosted on x64 targeting ARM64. This would all be transparent to users.

Regardless, a complete toolchain will require eventually porting libmemory and libchkstk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions