From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16751 invoked by alias); 11 Jul 2018 08:14:48 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 16736 invoked by uid 89); 11 Jul 2018 08:14:47 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.17.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Jul 2018 08:14:46 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MNtut-1fk15r02rz-007VmA for ; Wed, 11 Jul 2018 10:14:44 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 956BBA8064A; Wed, 11 Jul 2018 10:14:43 +0200 (CEST) Date: Wed, 11 Jul 2018 08:14:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Cygwin x86 on Windows 10 ARM64 Message-ID: <20180711081443.GM27673@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <004401d4188c$17986b60$46c94220$@cl.cam.ac.uk> <514216116.20180711003656@yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kjpMrWxdCilgNbo1" Content-Disposition: inline In-Reply-To: <514216116.20180711003656@yandex.ru> User-Agent: Mutt/1.9.2 (2017-12-15) X-SW-Source: 2018-07/txt/msg00102.txt.bz2 --kjpMrWxdCilgNbo1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2121 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" Content-length: 833 -----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--