X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AF0035E.4030502@towo.net>
Date: Tue, 03 Nov 2009 11:18:06 +0100
From: Thomas Wolff <towo@towo.net>
User-Agent: Thunderbird 2.0.0.23 (X11/20090812)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: unable to switch to gcc 4
References: <hckc2t$ioc$1@ger.gmane.org> <4AEDCFDB.4050700@verizon.net> 	 <hckju7$9id$1@ger.gmane.org> <416096c60911011050r445639dan608264ff99c2e2de@mail.gmail.com>
In-Reply-To: <416096c60911011050r445639dan608264ff99c2e2de@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Andy Koppe schrieb:
> 2009/11/1 Hans Horn:
>   
>> I think I figured it out myself; seemingly I need to have /etc/alternatives
>> in my path before /usr/bin.
>>     
>
> No, that shouldn't be necessary. Thes issue is with this:
>
> lrwxrwxrwx  1 Hans None        9 Jul 14 16:30 /usr/bin/gcc.exe -> gcc-3.exe
>
> That link should be pointing to /etc/alternatives/gcc. It does here anyway.
>   
I had a similar problem (reported 2 weeks ago) with a different picture.
In my case, /usr/bin/gcc was not a link at all, but a copy of gcc-3.exe,
although /usr/bin/g++ had been properly installed as a link. Fixed this 
manually.
This might be an indication that either the script set-gcc-default-4.sh 
or its installation
may be somehow unreliable.
Thomas

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

