From: Henry Baker <hbaker1@pipeline.com>
To: cygwin@cygwin.com
Subject: How does 'alternatives' find a file?
Date: Tue, 16 Jul 2013 20:58:00 -0000 [thread overview]
Message-ID: <E1UzAHj-0005MB-EL@elasmtp-curtail.atl.sa.earthlink.net> (raw)
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
next reply other threads:[~2013-07-16 18:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-16 20:58 Henry Baker [this message]
2013-07-16 21:02 ` Larry Hall (Cygwin)
2013-07-17 6:32 ` Charles Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1UzAHj-0005MB-EL@elasmtp-curtail.atl.sa.earthlink.net \
--to=hbaker1@pipeline.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).