delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/11/21/14:40:09

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4ALJe9Eu006178
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4ALJe9Eu006178
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=V7RfrLrx
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0DD903857BBA
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1732218007;
bh=etk3h5bmDXGjFmrX6nMiHH4CFEoFFQkbxJHNyByAxIs=;
h=Date:To:cc:Subject:In-Reply-To:References:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=V7RfrLrxd02bnCpC5y9ZeUK9/2nCsEhTYWQYdXkf8ARF+3TIxzz5Wgb/eSnulE56j
gEQdVUoTalumuIKB4pIeLJbQk7fPBfnsIdTtk3NxCRcDafICcxqy7itoQUiCYyzrzS
AK4CfolD/DPCZ5Wk0HW5dNcr9YUmrUypL4c6sgbE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 68DD9385802C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 68DD9385802C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732217936; cv=none;
b=cpaXxGQHZH5H+WxaUUV0Rodb12CjwQfqAe+xz3THdD3xPkc3qraLO0Fxw/jC4oiFZRBkA1++bf74QLAqpWaXdtS4FOQ3KiB/ovAe5NgS2rIKySV7jSoLifGuJfe2AX8ftmq2+0Y29i0T+DBRnjmCUxREEHYPHp251EKR23H2ODo=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1732217936; c=relaxed/simple;
bh=avBh1aaAjeAVX882YIlowmLQml08VmjyeJ2TFtDZw2s=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=ZPu0PRSryxntGj5b05yvRLx8ugDzRWL3Pko0n/lCkzpk70VVdq2E1xQDugpbsSS/T3En0IiKgHcbw8x/CWYlzTulmELQ4hEWB5o7Yp57ArQlL1HLhOeSx98XSzgZrPDd778stdQFL0nYRpzqJVNVvds0lCAZtRPhdCyWtnldAus=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68DD9385802C
Date: Thu, 21 Nov 2024 11:38:55 -0800 (PST)
X-X-Sender: jeremyd AT resin DOT csoft DOT net
To: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Subject: Re: include tag in uname -s for ARM64 hosts
In-Reply-To: <Zz9_p3T0BljtSUfb@calimero.vinschen.de>
Message-ID: <b1e08724-070f-862a-93d2-6e63708be1d3@jdrake.com>
References: <833327a2-3a62-ed26-e4ba-5302bcdb8000 AT jdrake DOT com>
<Zz8HHI9R5rT_iUvU AT calimero DOT vinschen DOT de>
<cfc333ca-9b60-6af2-cfea-553b42ea8a08 AT jdrake DOT com>
<Zz9_p3T0BljtSUfb AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jeremy Drake via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jeremy Drake <cygwin AT jdrake DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

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.

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019