unable to switch to gcc 4

Hans Horn hannes@2horns.com
Sun Nov 1 18:27:00 GMT 2009


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



More information about the Cygwin mailing list