g++4/gcc4 - Redhat

This is a discussion on g++4/gcc4 - Redhat ; 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 ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: g++4/gcc4

  1. g++4/gcc4

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

  2. Re: g++4/gcc4

    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

  3. Re: g++4/gcc4

    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

  4. Re: g++4/gcc4

    Markku Kolkka wrote:
    > 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.


    I see. Thanks.
    DZ

+ Reply to Thread