Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross compiler from MINGW64/UCRT64 to MINGWARM64? #20840

Open
iahung3 opened this issue May 8, 2024 · 4 comments
Open

Cross compiler from MINGW64/UCRT64 to MINGWARM64? #20840

iahung3 opened this issue May 8, 2024 · 4 comments

Comments

@iahung3
Copy link
Contributor

iahung3 commented May 8, 2024

Build for ARM64 on x86_64.

@kmilos
Copy link
Contributor

kmilos commented May 9, 2024

You have CLANG64 already: https://www.msys2.org/docs/environments/

You could potentially use it as a cross-compiler?

I.e. what you suggested in #20839

@iahung3
Copy link
Contributor Author

iahung3 commented May 9, 2024

Microsoft added support for Windows On ARM64 to GCC 15. When MSYS2 upgraded to GCC 15, I suggested to add a new environment which is MINGWARM64. This issue is about adding a GCC-based toolchain to cross compile for ARM64 from x86_64.

@lazka
Copy link
Member

lazka commented May 12, 2024

In theory we could start by creating a cross compiler using a gcc 15 snapshot, similar to https://packages.msys2.org/package/mingw-w64-cross-gcc

@Andarwinux
Copy link

Considering GCC's snail-like release schedule, this won't be generally available for a long time. And GCC has zero advantages over Clang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants