Search code examples
windowscygwinsymlink

cygwin winsymlinks:native doesn't work


I'm battling with cygwin for quite a while now.
I searched far and wide on how to make cygwin create Windows-style symbolic links.

I tried the following:

export CYGWIN="winsymlinks:native"
export CYGWIN="winsymlinks:nativestrict"
export CYGWIN="winsymlinks:lnk"
  • I also tried exporting w/o the quotes.
  • I also tried from both cygwin/x86 and cygwin/x64

For the life of me - I can't get the Windows native symlinks to work. I'm working on Windows7/64bit; cygwin version 1.7.25.

I'd love to get a solution for this one.

Thank you.


Solution

  • I also battled with this one for a while on Windows 7 with Cygwin.

    Everything I read seemed to say that it needed export CYGWIN="winsymlinks:native", but no luck for me.

    Then I read this blog http://zzamboni.org/blog/making-cygwin-windows-and-emacs-understand-th/ which said that just "winsymlinks" was all you need. Tried that and it worked beautifully :)

    Just use this environment variable. export CYGWIN="winsymlinks"