This is the mail archive of the
cygwin
mailing list for the Cygwin project.
How does 'alternatives' find a file?
- From: Henry Baker <hbaker1 at pipeline dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 16 Jul 2013 11:46:48 -0700
- Subject: How does 'alternatives' find a file?
I've had to create a cygwin tree from a circa 2011 tar dump, and I've had a devil of a time trying to make it work.
The biggest problem I have right now is that 'alternatives'-style symlinks don't work.
(The "!<symlink>"-style symlinks _do_ seem to work.)
After doing a lot of Google searching, I tried various combinations of
attrib +s gcc.exe
attrib +r gcc.exe
etc., to no avail.
I can make gcc.exe work by forcibly copying gcc-4.exe to gcc.exe, but there are probably thousands of such links that
would have to be set manually.
The best thing would be to understand how 'alternatives' finds its files, and fix that to correctly find all of the files.
I'm running from both NTFS and FAT32 file systems; neither one works.
I'm running Windows 7 on a 64-bit machine, if that matters.
Thanks for any help; I've now spent many hours trying to solve this problem.
--
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