[Scons-users] Add arm64ec support on Visual Studio

Bill Deegan bill at baddogconsulting.com
Sat Jul 12 16:43:04 EDT 2025


Sure PR.

I'll be jcbrill will have some thoughts as he's been driving the MSVC stuff
lately.

On Sat, Jul 12, 2025 at 10:24 AM Mats Wichmann <mats at wichmann.us> wrote:

> 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".
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20250712/6556c090/attachment.htm>


More information about the Scons-users mailing list