[PATCH v2 2/2] Cygwin: uname: add host machine tag to sysname.
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Nov 27 17:17:53 GMT 2024
On Nov 27 08:47, Jeremy Drake via Cygwin-patches wrote:
> On Wed, 27 Nov 2024, Corinna Vinschen wrote:
>
> > I'm not opposed to a switch statement consisting of an
> > IMAGE_FILE_MACHINE_ARM64 case and a default case adding "-???" or
> > something. Chances are so extremly slim that we'll ever see another
> > CPU emulated on x86_64, we can always add a case for that if it turns
> > out that I'm totally wrong, right?
>
> OK, does the default case have to be a fixed string or can I use the hex?
> Lately it seems like MS is making the hex form almost "meaningful" - AMD64
> is 0x8664 and ARM64 is 0xaa64. I don't know if they can keep that up for
> any new arch, but putting the value in there at least gives us something
> to go on until a new case can be added.
Ok.
Thanks,
Corinna
More information about the Cygwin-patches
mailing list