Red Hat Topics - g++4/gcc4

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > May 2005 > g++4/gcc4





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author g++4/gcc4
DZ

2005-05-11, 8:45 pm

Why does "gcc version 4.0.0" come in a different package with
executables "g++4" and "gcc4" - why doesn't it replace the previous
version of g++/gcc like it's normally done?

I discovered by accident that "yum update gcc" on FC3 doesn't update
to 4.0.0, but "yum install gcc4*" installs those with the funny names
like "g++4".
Jean-David Beyer

2005-05-11, 8:45 pm

DZ wrote:
> Why does "gcc version 4.0.0" come in a different package with
> executables "g++4" and "gcc4" - why doesn't it replace the previous
> version of g++/gcc like it's normally done?
>
> I discovered by accident that "yum update gcc" on FC3 doesn't update
> to 4.0.0, but "yum install gcc4*" installs those with the funny names
> like "g++4".


Perhaps because some users still want the version 3 of the compiler and
stuff, and that version 4 might produce code incompatible with proprietary
programs people are running. This is just a guess, but I have to run g++296
to be compatible with a large dbms I have. But I use g++ for everything
else. I have both of these on my machine.

gcc-c++-3.2.3-49 [g++]
compat-gcc-c++-7.3-2.96.128 [g++296]


--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 21:55:00 up 17 days, 15:33, 4 users, load average: 4.25, 4.20, 4.13
Markku Kolkka

2005-05-12, 5:46 pm

DZ wrote:

> Why does "gcc version 4.0.0" come in a different package with
> executables "g++4" and "gcc4" - why doesn't it replace the previous
> version of g++/gcc like it's normally done?


Because GCC 3.4.3 is the standard compiler on FC3, and GCC 4 is a
"preview version".

On FC4, GCC 4 will be the standard compiler.

--
Markku Kolkka
markku.kolkka@iki.fi
DZ

2005-05-12, 5:46 pm

Markku Kolkka <markku.kolkka@iki.fi> wrote:
> DZ wrote:
>
> Because GCC 3.4.3 is the standard compiler on FC3, and GCC 4 is a
> "preview version".
>
> On FC4, GCC 4 will be the standard compiler.


I see. Thanks.
DZ
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com