delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/11/04:14:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Mp2C6EcZgrGu5vJOpvX6zJswKzN5K615qyQkbeQvBSGcMg4Qi9hQg
fx86+wm9sRVl9fDVH0nNm6wt9lvF8tKFViImoO6TEEZdPMPVhAWiT9we1F2VjQyY
kPfZjbANCCTGsFI7IitaeOYXKm6ip7QxRo80SiPEJob9i+BU9cWwoo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=5vFxXczekj3TxMNBBf/sQdkD1Z4=; b=a/8D2sKSFcK5B07bJZH9/YzwXhtC
ZkQ3zEzO0d8TXzfhXhdc0abmckPrTPkoAueETVcHDut3+6PYCmF9AxA/pkEIcNph
VcZzw0G4RW75kFBPWqY6Y42WOXl31vGkfNn0rxJFSwlVgPLoQleXLgLB/rhGGVFY
m23VtTm5ZwCdYXM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-100.8 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=aa365743aspx, UD:aa365743.aspx, aa365743.aspx, Hx-languages-length:2085
X-HELO: mout.kundenserver.de
Date: Wed, 11 Jul 2018 10:14:43 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin x86 on Windows 10 ARM64
Message-ID: <20180711081443.GM27673@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <e4cb08a5-3db8-7a0b-edbd-de4fec1fc5fc AT SystematicSw DOT ab DOT ca> <004401d4188c$17986b60$46c94220$@cl.cam.ac.uk> <514216116 DOT 20180711003656 AT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <514216116.20180711003656@yandex.ru>
User-Agent: Mutt/1.9.2 (2017-12-15)

--kjpMrWxdCilgNbo1
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul 11 00:36, Andrey Repin wrote:
> Greetings, David Allsopp!
>=20
> > Brian Inglis wrote:
> >> On 2018-07-10 03:51, David Allsopp wrote:
> >> > I've been trying out the x86 emulation in Microsoft's ARM64 version =
of
> >> > Windows 10 1803.
> >> >
> >> > I had two issues with Cygwin x86. The first, which is simple, is that
> >> > Windows doesn't by default create C:\Windows\SysWOW64\drivers\etc
> >> > which causes /etc/postinstall/base-files-mketc.sh to exit with an
> >> > error all the time. I wonder if there's a possible workaround to make
> >> that less intrusive?
> >> > The error message implies that it may have computed the wrong
> >> > directory, which it hasn't - it's just that the directory doesn't ex=
ist.
> >>=20
> >> Do C:\Windows\{System32,SysNative,Sys*}\drivers\etc exist under the
> >> emulator?
> >> What does "cygpath -SU" show?
>=20
> > cygpath -SU gives /proc/cygdrive/c/Windows/SysWOW64
>=20
> > Checking within C:\Windows\SysWOW64\cmd.exe (i.e. x86 cmd):
>=20
> > C:\Windows\System32\drivers\etc exists and contains expected files
> > C:\Windows\Sysnative\drivers\etc exists and contains expected files (lo=
oks identical to System32, as you'd hope)
> > C:\Windows\SysArm32\drivers does not contain an etc directory (but wasn=
't referenced)
> > C:\Windows\SysWOW64\drivers didn't contain an etc directory (I created =
one to silence the error)
>=20
> > So perhaps on WOW64 it would be worth falling back to Sysnative if etc
> > isn't found? Or even just using Sysnative by default in WOW64?
>=20
> I'd suggest using Sysnative unconditionally, and fall back to System32 if
> Sysnative not found.


Did anybody notice my reply from 8 hours earlier?
https://cygwin.com/ml/cygwin/2018-07/msg00091.html


> A better approach would be to make Cygwin trickery aware and just address=
 real
> directories instead of fake ones.
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa365743.aspx

That would break existing scripts.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--kjpMrWxdCilgNbo1
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAltFvHMACgkQ9TYGna5E
T6Atww//fAmWLkbgN8w7BmZsWj3ONR8SwppE10AJ/hrW1LoOoWlIVB9HSHlFQqkH
Mz01plyVWZk4QNUn/CWwKxtxnE/XtrTcFezigwBALYnA4qc+w2CmfdbuFtpH8k8m
VHE2Z7Z6rd0LGXvhbU1JVnMTyaSGNfadpcLfsbJd4SjApaUoyPB5sVKIyqgcqubA
HINtu2sOehzgPNnN7slrrCfPjEX1BxgzTmn/8u8Rj64zKH0AzKo4RkekfDgBLCRH
KlQe/cVypd9xez3HEYLtc6GJ/kbOHvxCnIbMWOhkvEIsPHDbiSr+pPKZoTziccWJ
JN8TFcn1YtJLuUx56flvc8ovFSjUaT9UaACR1Sk2d1Ip8TmuuTUVyctB+p18jrSo
22aGbZf7uRa+ao/ZijjB6BW4SA1hzfUdxTwA2uO0WIpQBGySb1gGZAREp4331aF2
LZv2X3+HaQeZaqmeuf7LXUJxce+ThPh6xZHpv0Vio3WVeaNeWGKwSU8StCB2zAmy
o3jhI/WoLckTcXue7vKiY2oNa3wJdOiJ76dCRQN6c3djjvu5o2FnCKHykWgFCPvw
nyix6Ji/9gJAYhiMu754m/aPhR7GXfi7awRsyefXdgaY3ekf70SwmTs0F5YvrIuB
U2okDknMB0kdyhD4rOgZecA6Hb6WEonLtIMp6NXroMoj60DQe/o=
=jEKi
-----END PGP SIGNATURE-----

--kjpMrWxdCilgNbo1--

- Raw text -


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