Re: GNU Nano on Windows

Liu Hao <[email protected]> Mon, 24 Aug 2020 00:41:22 +0800
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
在 2020/8/23 22:05, [email protected] 写道:
> Hello,
> I'm on Windows and I'm trying to setup the GNU Nano editor. I've downloaded the NT 2.5.3 release and I was told to copy the
> cygwin1.dll file into system32.
> 
> Is that necessary? Nano works fine without it and I don't really understand why do I have to do that.
> 

If it 'works fine without it', then no, it is not necessary.


> So my question is: Do I have to copy the cygwin1.dll file into the system32 folder to be able to use Nano?
> 

If whoever built the binary did it with Cygwin (this way nano can be built without patching source code) then the executable
was linked against Cygwin DLLs. Windows, unlike other POSIX systems, prefers dynamic libraries along with the executable to
those in the system32 directory, so you need not copy that DLL, as long as it is placed next to the executable.


-- 
Best regards,
LH_Mouse
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEn9eDGptREvfrWRePQbMyeCIxW8QFAl9CnDIACgkQQbMyeCIx
W8SFpRAAjGEjHzLJIcVZaXTPtB9wtlCo6Qd7TFvkI+3Yls6HyuMQ/zif+8JHjWIq
fHlxOirq5tkBwhjWPEDYtnKcYUy2jN1gyHoc9R4dQWpvScKpqa72DUDaWOiRIIDR
c49jpRUn3Gjx/7lLkPlH2AQBSJLYWUmG1i7Y6clmegpB1dWw48r4MuTYnGtZPgDN
brQFrZF3eBJspoY1nV8KNE4PcVQkoooT4fHZpmeULC3qCPhAgQyev0Ljn55yL2AV
1Bkw7OvRnAPCyV7qSkLIDgy7xWQgVYv3jAyE79Mmp7xt3jmAUvfvyDUXk8qxOkYc
v+n9iAKtv5yjJ1ACr/na2cNFJgqnOih5sUXA/tp/BTSF7xwlfEuEAcWYJlNhpmJp
PgohxKumgwSvoKLZDsJ7Z4wR1vUXr3f+C2Wb7zKXM8PxWEsArDvsJylIeWKCMl12
OB8sJmCpBOVEYY7PGLOYUpXeyzxHOeioC5we52oe95sr5J84fkQWVmC/bmpuhjKM
ghJJFw5DIW8yFWrpXInaPRGWre62uI9KhthLXeBzfnDgp99H7VLg7/jh3CKOw86t
F7wKhvHIfbkbw5p00tnFvQBMjwOppjChuwVJA3XcMo+S2OMFr4ffF7xDASjva/49
ZLAeVPAZo2TwiMGsryHpgWamJyd/1AH5wclh5bcIil3pQmxm+d0=
=YsK7
-----END PGP SIGNATURE-----