On 14:56 16 Jul 2002, Hunter Scales <[EMAIL PROTECTED]> wrote:
| I need to upgrade my compiler from the gcc 2.96 that came with my Redhat 
| installation to gcc 3.2.  Can someone tell me where to find the RPM for 
| this?  Or do I have to get a gzip file from GNU?

You're probably better off just building gcc-3.2 from source and
installing it somewhere in parallel (so you can still use the RH stock
compiler, which is needed for binary API compatibility for C++).

It's pretty painless, and gives you both choices. Example:

        ... unpack gcc-3.2 source tree and cd into it ...
        mkdir /opt/gcc-3.2
        ./configure --prefix=/opt/gcc-3.2
        make bootstrap && make install && echo YES
        ln -s /opt/gcc-3.2/bin/gcc /usr/local/bin/gcc-3.2

and there you are.

Uninstall is as easy as:

        rm -rf /opt/gcc-3.2
        rm /usr/local/bin/gcc-3.2

In this way you can install and test several different versions of the
compiler if that is your need.

Cheers,
--
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

I took that Reading Dynamics course, and it really works.  I read _War and
Peace_ in an hour last night.  It's about Russia.       - W. Allen, ca. 1962



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to