This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Symbolic links problem with cygwin 1.7.1 in 64-bit Win7 Command Prompt


Andy Koppe wrote:
2009/12/30 Larry Hall (Cygwin):
I've been using gcc and other tools in older versions of cygwin with
32-bit Windows XP and Vista from windows command prompt (cmd.exe)
without problems. But now I'm using 64-bit Windows 7, and some command
line tools like gcc.exe do not work anymore (from cmd.exe). They do
work ok from Cygwin's bash.

[...]
 Another [solution] might be to set "winsymlinks" in the CYGWIN
environment
variable <http://cygwin.com/cygwin-ug-net/using-cygwinenv.html> and recreate
the symlinks you want that way.

That won't work. The option causes symlinks to be represented by Windows shortcuts, which do work in Explorer, but not in cmd.exe where they appear as .lnk files instead. (Lame, eh?)

Will Windows junctions (for the path; plus the file name) work, here, Andy? (http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx)

(Admittedly, a kludge, but this is Windows, after all. ;-))

Lee


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]