X-Recipient: archive-cygwin AT delorie DOT 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 User-Agent: Thunderbird 2.0.0.23 (X11/20090812) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: unable to switch to gcc 4 References: <4AEDCFDB DOT 4050700 AT verizon DOT net> <416096c60911011050r445639dan608264ff99c2e2de AT mail DOT gmail DOT 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 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 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