|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
unable to switch to gcc 4Folks,
I was trying to make the switch gcc3 -> gcc4 before: $ gcc --version gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. ... $ /usr/bin/set-gcc-default-4.sh after: $ gcc --version gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. ... $ ls -lt /usr/bin/gcc* -rwxr-xr-x 3 Hans root 1220622 Sep 28 19:18 /usr/bin/gcc-4.exe -rwxr-xr-x 1 Hans root 16984 Sep 28 19:03 /usr/bin/gccbug-4 lrwxrwxrwx 1 Hans None 9 Jul 14 16:30 /usr/bin/gcc.exe -> gcc-3.exe -rwxr-x---+ 1 Hans Users 94741 Feb 25 2009 /usr/bin/gcc-3.exe -rwxr-x---+ 1 Hans Users 16261 Feb 25 2009 /usr/bin/gccbug-3 Am I stupid or what gives? Kindly, 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 |
|
|
Re: unable to switch to gcc 4Hans 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 -- 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 |
|
|
Re: unable to switch to gcc 4Jerry 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 |
|
|
Re: unable to switch to gcc 42009/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. Andy -- 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 |
|
|
Re: unable to switch to gcc 4Andy 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. > 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 |
| Free embeddable forum powered by Nabble | Forum Help |