delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/01/13:27:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Hans Horn <hannes AT 2horns DOT com>
Subject: Re: unable to switch to gcc 4
Date: Sun, 01 Nov 2009 10:27:18 -0800
Lines: 33
Message-ID: <hckju7$9id$1@ger.gmane.org>
References: <hckc2t$ioc$1 AT ger DOT gmane DOT org> <4AEDCFDB DOT 4050700 AT verizon DOT net>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
In-Reply-To: <4AEDCFDB.4050700@verizon.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Jerry DeLisle wrote:
> Hans Horn wrote:
>> Folks,
>>
>> I was trying to make the switch gcc3 -> gcc4
>>
> ---snip---
> 
> s   16261 Feb 25  2009 /usr/bin/gccbug-3
>>
>>
>> Am I stupid or what gives?
>> Kindly,
>> H.
> 
> I think gcc4 is invoked as gcc-4.  I usually set up a softlink in my 
> search path.
> 
> Jerry
> 

I think I figured it out myself; seemingly I need to have 
/etc/alternatives in my path before /usr/bin.

Now I get:
$ type gcc
gcc is /etc/alternatives/gcc

$ gcc --version
gcc (GCC) 4.3.4 20090804 (release) 1 ...

greets,
H.


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