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:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=m4wZxO1/POUwNMiwUey3huNvYmELC Yj1hDGdcxwoP1vid0PDZgwFFFCaArhyYuVSp3g3DMNLOcoNl4jyfaXXQmSMhJDu4 lJePpeSARae6gj1XX8/CtIdiIuJY4VaUEgN0XN4TzKEqWLSd8Q2MhaNkBNOV/i+e P2kTrADEH7hqpU= 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:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=cNtgIcxoN8PzmFEfqrHfqsav7VU=; b=Vjt YW0oCZd30LRX9SqR3Sf1knjEki9s8rvynFPCjVX0eyb0XuLx+DXfjDdgb1npyoQD NrpRow26fy/9q0D6hVfvCOKIaVQVr8BEZmkrFtO5lo8oFph1RCYBtceXM8irgEy1 acZTU0UPwbI3mYbHDdn3xnDPT7Lf3vO91Pv39nhs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=downloading, lag, why, answered X-HELO: outmail149082.authsmtp.co.uk From: David Allsopp To: "cygwin AT cygwin DOT com" Subject: RE: Cygwin x86 on Windows 10 ARM64 Date: Wed, 11 Jul 2018 12:33:50 +0000 Message-ID: References: <004401d4188c$17986b60$46c94220$@cl.cam.ac.uk> <514216116 DOT 20180711003656 AT yandex DOT ru> <20180711081443 DOT GM27673 AT calimero DOT vinschen DOT de> In-Reply-To: <20180711081443.GM27673@calimero.vinschen.de> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-Server-Quench: ad6e392e-8506-11e8-9efd-0015176ca198 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd1ZAARAlZ5RRob BmUtCCtbTh09DhZI RxQKKE1TKxwUVhJa I0lFL1x7O0wTWlBf HTVUBhpVUUILHD9q aQpQZRVcYUBNXA9v VgZLQ1FMFQVtHx4A BAAfUx1tdQBZeTA3 YzQRNjEmBkRydUJ7 SwBQF20BKzY0bjUc WUINagtRcAVXfx4Q Yk12ASVZfGUHZ39h QFE4NmlgbSNlBXYd aRACMlMUCVZbQHY7 QVg9HDMjGlIeD3xr ZzUcDwBAdAMA X-Authentic-SMTP: 61633634383431.1038:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 213.105.212.114/25 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id w6BCYBwD012510 Corinna Vinschen wrote: > On Jul 11 00:36, Andrey Repin wrote: > > Greetings, David Allsopp! > > > > > 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 > exist. > > >> > > >> Do C:\Windows\{System32,SysNative,Sys*}\drivers\etc exist under the > > >> emulator? > > >> What does "cygpath -SU" show? > > > > > cygpath -SU gives /proc/cygdrive/c/Windows/SysWOW64 > > > > > Checking within C:\Windows\SysWOW64\cmd.exe (i.e. x86 cmd): > > > > > C:\Windows\System32\drivers\etc exists and contains expected files > > > C:\Windows\Sysnative\drivers\etc exists and contains expected files > > > (looks 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) > > > > > 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? > > > > 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 Yes! I answered Brian's first because it didn't involve downloading anything, then I tried the snapshot you'd kindly provided - but it doesn't work, for weird reasons, and I'm still looking into exactly why in order to give a helpful reply as to why! Sorry for the lag... David -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple