Re: Add arm64ec support on Visual Studio
Mats Wichmann <[email protected]> Sat, 12 Jul 2025 11:24:03 -0600
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <[email protected]> |
On 7/12/25 10:35, Leonard de Ruijter wrote: > Hi, > > > Arm64ec is an architecture supported on Windows 11. In short, it runs > smooth on arm64 processors without emulation, but it is compatible with > x64. So you can load arm64ec dll's in x64 processes and vise versa, as > long as you're on an arm64 host system. > > It is already possible to compile arm64ec on SCons by adding /ARM64EC to > ccflags and /machine:arm64ec to linkflags. However I think it would be > better to add arm64ec as a supported architecture directly in SCons > itself, and it should append to ccflags and linkflags itself. > > Would you be open for a pull request that adds this? Thanks for asking first - I know Bill feels that's a big deal :-) Is this "emulation compatible" ABI a Windows-only thing (admit I'd never heard of it)? It seems from glancing around a bit that llvm has made some effort to support it, too (mingw clang builds). I don't know how any of this would map into what exists now, it might be just a few table updates or there might be more. Maybe if you could share a few more details here (or use a github discussion) of what you'll propose before going all the way to a PR? Hate to see you prepare one and then have it sit because we "don't get it".