Web lists-archives.com

Re: Cygwin x86 on Windows 10 ARM64




On 2018-07-10 07:04, Corinna Vinschen wrote:
> On Jul 10 10: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?

C:\ > mklink /d /h C:\Windows\SysWOW64\drivers\etc C:\Windows\System32\drivers\etc
Note: args reversed from ln

> Try if C:\Windows\Sysnative\drivers\etc works.  That should be the
> easiest way to fix the issue in the script.

SysNative does not exist under x64 - could check arch dependent, or dir
dependent: check for hardcoded `cygpath -W`/SysNative/drivers/etc/ dir (unless
there is a standard SysNative folder id or env var I can't find), then fall back
to `cygpath -S`/drivers/etc/.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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