Hi...
i try to chang and update my compiler on Linux redhat 9, which is GCC 3.2.2, i have downloaded the GCC 3.3.4 and try to install it, but i could't do that.
could any one help me please.
Update GCC on Linux redhat
Re:Update GCC on Linux redhat
Go for a newer distribution, Red Hat 9 is years old.
Fedora Core 1 is what should have been Red Hat 10, and the latest now are Fedora Core 4.
Fedora Core 1 is what should have been Red Hat 10, and the latest now are Fedora Core 4.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Update GCC on Linux redhat
you should be able to have both co-existing on your system if you install what should have been to /usr/bin/gcc into, say, /opt/gnu/bin/gcc ... another part of GCC has to be into /usr/lib/gcc/<version>-<machine>/ ... Just leave it there (it shouldn't overwrite anything else)
Most compiling tools under unix systems use $CC environment variable to know which gcc they should use, so before using the new 3.4.x, just
setenv $CC /opt/gnu/bin/gcc
and when returning to normal operations, just
unsetenv $CC
and voil?
Most compiling tools under unix systems use $CC environment variable to know which gcc they should use, so before using the new 3.4.x, just
setenv $CC /opt/gnu/bin/gcc
and when returning to normal operations, just
unsetenv $CC
and voil?