Re: Add arm64ec support on Visual Studio

Bill Deegan <[email protected]> Sat, 12 Jul 2025 13:43:04 -0700
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CHApZJCQ16M1yrR+bk-Nn1OHLto2+=Zn2KphypfynvMOA@mail.gmail.com>
--===============2291139851968169657==
Content-Type: multipart/alternative; boundary="000000000000d543f00639c17991"

--000000000000d543f00639c17991
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=E2=80=AFAM Mats Wichmann <[email protected]> w=
rote:

> 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 t=
o
> > 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
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

--000000000000d543f00639c17991
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Sure PR.</div><div><br></div><div>I&#39;ll be jcbrill=
 will have some thoughts as he&#39;s been driving the MSVC stuff lately.</d=
iv></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"l=
tr" class=3D"gmail_attr">On Sat, Jul 12, 2025 at 10:24=E2=80=AFAM Mats Wich=
mann &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 7/12/25 10:=
35, Leonard de Ruijter wrote:<br>
&gt; Hi,<br>
&gt; <br>
&gt; <br>
&gt; Arm64ec is an architecture supported on Windows 11. In short, it runs =
<br>
&gt; smooth on arm64 processors without emulation, but it is compatible wit=
h <br>
&gt; x64. So you can load arm64ec dll&#39;s in x64 processes and vise versa=
, as <br>
&gt; long as you&#39;re on an arm64 host system.<br>
&gt; <br>
&gt; It is already possible to compile arm64ec on SCons by adding /ARM64EC =
to <br>
&gt; ccflags and /machine:arm64ec to linkflags. However I think it would be=
 <br>
&gt; better to add arm64ec as a supported architecture directly in SCons <b=
r>
&gt; itself, and it should append to ccflags and linkflags itself.<br>
&gt; <br>
&gt; Would you be open for a pull request that adds this?<br>
<br>
Thanks for asking first - I know Bill feels that&#39;s a big deal :-)<br>
<br>
Is this &quot;emulation compatible&quot; ABI a Windows-only thing (admit I&=
#39;d never <br>
heard of it)?<br>
<br>
It seems from glancing around a bit that llvm has made some effort to <br>
support it, too (mingw clang builds).<br>
<br>
I don&#39;t know how any of this would map into what exists now, it might b=
e <br>
just a few table updates or there might be more.<br>
<br>
Maybe if you could share a few more details here (or use a github <br>
discussion) of what you&#39;ll propose before going all the way to a PR? <b=
r>
Hate to see you prepare one and then have it sit because we &quot;don&#39;t=
 get it&quot;.<br>
_______________________________________________<br>
Scons-users mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Scons-users@scon=
s.org</a><br>
<a href=3D"https://pairlist4.pair.net/mailman/listinfo/scons-users" rel=3D"=
noreferrer" target=3D"_blank">https://pairlist4.pair.net/mailman/listinfo/s=
cons-users</a><br>
</blockquote></div>

--000000000000d543f00639c17991--

--===============2291139851968169657==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users

--===============2291139851968169657==--