How can I install MinGW-w64 and MSYS2?

Unfortunately, the MinGW-w64 installer you used sometimes has this issue. I myself am not sure about why this happens (I think it has something to do with Sourceforge URL redirection or whatever that the installer currently can’t handle properly enough). Anyways, if you’re already planning on using MSYS2, there’s no need for that installer. Download … Read more

How to make a symbolic link with Cygwin in Windows 7

In short, define the following environment variable: CYGWIN=winsymlinks:nativestrict According to Cygwin documentation: If set to winsymlinks:native or winsymlinks:nativestrict, Cygwin creates symlinks as native Windows symlinks on filesystems and OS versions supporting them. The difference between winsymlinks:native and winsymlinks:nativestrict is this: If the filesystem supports native symlinks and Cygwin fails to create a native symlink for … Read more

cygwin sets file permission to 000

Have a read through the answers at this link: http://cygwin.1069669.n5.nabble.com/vim-and-file-permissions-on-Windows-7-td61390.html The solution there worked for me also: Edit /etc/fstab and add this line at the end of the file: none /cygdrive cygdrive binary,noacl,posix=0,user 0 0 Then close all Cygwin processes, open a new terminal and ls -l on your files again. Explanation: By default, Cygwin … Read more

Enable native NTFS symbolic links for Cygwin

⸻⸻⸻  Short answer  ⸻⸻⸻ Define environment variable: CYGWIN=winsymlinks:nativestrict As pointed out by mwm you may also have to run bash as Administrator. ⸻⸻⸻  Long answer  ⸻⸻⸻ Default Cygwin symlinks are just regular files By default Cygwin creates text files as workaround for Windows symlink flaw. These files are not really symlinks. Almost all Windows programs … Read more

How to install MinGW-w64 and MSYS2?

Unfortunately, the MinGW-w64 installer you used sometimes has this issue. I myself am not sure about why this happens (I think it has something to do with Sourceforge URL redirection or whatever that the installer currently can’t handle properly enough). Anyways, if you’re already planning on using MSYS2, there’s no need for that installer. Download … Read more