include tag in uname -s for ARM64 hosts

Jeremy Drake cygwin@jdrake.com
Thu Nov 21 19:38:55 GMT 2024


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

> IMHO:
>
>   if (IsWow64Process2 (GetCurrentProcess (), &emulated, &hosted))
>       && emulated != IMAGE_FILE_MACHINE_UNKNOWN)
>     if (hosted == IMAGE_FILE_MACHINE_AMD64)
>       strcat (sysname, "-WOW64");
>     else if (hosted == IMAGE_FILE_MACHINE_ARM64)
>       strcat (sysname, "-ARM64");
>     else
>       stract (sysname, "-WTF");
>     }

If only it were that easy ;)

Patches incoming to cygwin-patches, though I bet they will not be ready to
apply yet, at least some of the more theoretical cases will probably want
to be removed.


More information about the Cygwin mailing list