On Thu, 21 Nov 2024, Corinna Vinschen via Cygwin wrote:

> > i686        x86_64  -WOW64-x64 (or omit arch to match existing?)
>
> Just -WOW64
>
> For backward compat and it's a sole representative of an intel-intel
> emulation anyway.  I think we may safely ignore "WOW"
>
> > i686        ARM64   -WOW64-ARM64
>
> Just -ARM64
>
> The suffix already indicates an emulator, the target CPU is in the
> machine field.
>
> > ARM ARM64   -WOW64-ARM64
>
> Apart from not supporting 32 bit targets anymore (the tiny address space
> is simply not feasible anymore) just -ARM64.  Again, the target CPU is
> in the machine field.


Interesting.  So basically disregard the wincap.is_wow64 (which is gone
anyway in supported versions), and only look at the host arch, appending a
tag only when it's different from Cygwin's own arch, with the special case
that x64 is called "WOW64"?  (Maybe the special case should be if the host
is x64 AND Cygwin is i686, otherwise use x64, just in case MS does
something useful like adding ARM64 emulation to x86_64)

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to