X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:to:from:subject:mime-version:content-type :message-id; q=dns; s=default; b=JoYfXLyz4l+FYrQuif5TEMk1SkJOjge vMg5pbttOJJ6OQ33wC3+xVwEe7O9gvLwUm3qOohfMq4hSuFekFhuIbuoOVMfhRZG EMhq74tGvl17pyu1eWD1tN1A53fId0a1DFBb6c+Om7Z8d6aVTbRT2B++QerKvTh4 ba9yE6EolLrk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:to:from:subject:mime-version:content-type :message-id; s=default; bh=4SlOTz9Xs+Pb2YTMyJv9k8UhxfQ=; b=r0YcL ymGIQoMJSFMzhhDok7iHcO53OJm1Zjzxg5wTK1o5deDoVBO3RRfCDXpawk+pyWp+ SRzsOf2avhN6+KuwaVYVLwtvzsh4aTAQbGEt1bRoIumuXDEQxcGMl7qVSeGYaIV6 AcmrJv5ALy8KXuB0PTOtevXxrXbuV0RIlXIrCE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RDNS_NONE autolearn=no version=3.3.1 Date: Tue, 16 Jul 2013 11:46:48 -0700 To: cygwin AT cygwin DOT com From: Henry Baker Subject: How does 'alternatives' find a file? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: X-ELNK-Trace: 1ae2556e383722335a792f37df7f8ca8ba196d48fc2e3f082cac507e63284dfc32e13197fe48a39c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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 "!"-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