www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/03/05:18:16

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 <towo AT towo DOT net>
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: <hckc2t$ioc$1 AT ger DOT gmane DOT org> <4AEDCFDB DOT 4050700 AT verizon DOT net> <hckju7$9id$1 AT ger DOT gmane DOT org> <416096c60911011050r445639dan608264ff99c2e2de AT mail DOT gmail DOT com>
In-Reply-To: <416096c60911011050r445639dan608264ff99c2e2de@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019