DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4ALIFmFa4164730 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 4ALIFmFa4164730 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=T8ivGFzL X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FA983857733 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1732212946; bh=orFHQ8QU7RSPuJccI4uGityD3iXUoZC0XNb4q77FvCQ=; 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=T8ivGFzLebxLHw5PPJMRR2fYZvmfRya64Nr/3PWm9ns/z8pJrJxKWhdT6Ig9Dim7/ WImKesTDJ267DGClfgzfdunHhXFj9Q8JUm/tr0wirijoo3zEs9ly9Ukcu3CC/IR9VU 19hjyawt1cSrobSNO/mYNNPSHe0M0DkdkwnvSifQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2736D3857B9E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2736D3857B9E ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732212917; cv=none; b=YN0LUKr52zVPEuszMPhuUzc6SZ6BuD3QL3Flz5mn4fIYTqguY6oGlb2K4H9HYBayjxbzMoQzhqvSn96RyRGztKDjNlI4xprEyR9frNXs8hDDk9W5m3fhV6W2ALSgkRrVDumvqO7kJJ6tYko04DsVE33gGzsUEcdusV8fJdZPN6g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732212917; c=relaxed/simple; bh=eGBP30lVBJrDfe4Y2og+t9YlhPUTE38O59Ps2IXEAPA=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=Lwunejo95+qd54tcKqmdKMeKxxaR8EaSZzxVR5tXFH/mIOQYzNzMYrzZgEF/116/HT2LSIE/IDy++1ZpucVOjf7hqEyxuf2IGgDSAtVl3kz2hFV2xJ7BOXJ6ZesnFaD2sstsAGj2Qt9eGDibS1hCJwHCjgkUUJeRBH5AQImI04I= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2736D3857B9E Date: Thu, 21 Nov 2024 10:15:16 -0800 (PST) X-X-Sender: jeremyd AT resin DOT csoft DOT net To: Corinna Vinschen via Cygwin cc: Corinna Vinschen Subject: Re: include tag in uname -s for ARM64 hosts In-Reply-To: Message-ID: References: <833327a2-3a62-ed26-e4ba-5302bcdb8000 AT jdrake DOT com> MIME-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jeremy Drake via Cygwin Reply-To: Jeremy Drake Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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