reinstall gcc



Hi,
I have RHEL 4 update 6 server running ok but due to some application failure
we believe that some gcc related files are corrupted and would like to
reinstall gcc package.
I do have the whole rpm source for RHEL 4 update 6 but tried updating using
up2date command but does not update any files and says package is already
installed. I dont want to remove the package and reinstall because of so
many gcc packages (see below) and their interdependency.
Is their a way I can reinstall all gcc package of same release, in this case
install gcc on update 6 machine from update 6 rpm package list.

# uname -a
Linux gvl7015 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64
x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 6)

# rpm -qa|grep gcc
gcc-3.4.6-9
gcc4-java-4.1.2-14.EL4
gcc4-c++-4.1.2-14.EL4
compat-gcc-32-3.2.3-47.3
libgcc-3.4.6-9
gcc-java-3.4.6-9
compat-libgcc-296-2.96-132.7.2
gcc-c++-3.4.6-9
gcc4-4.1.2-14.EL4
libgcc-3.4.6-9
gcc-gnat-3.4.6-9
compat-gcc-32-c++-3.2.3-47.3
compat-gcc-32-c++-3.2.3-47.3
gcc4-gfortran-4.1.2-14.EL4
gcc-objc-3.4.6-9
gcc-g77-3.4.6-9
compat-gcc-32-3.2.3-47.3
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: reinstall gcc
    ... I have RHEL 4 update 6 server running ok but due to some application failure ... we believe that some gcc related files are corrupted and would like to ... reinstall gcc package. ... Is their a way I can reinstall all gcc package of same release, ...
    (RedHat)
  • Re: FreePascal
    ... Using gcc to build gcc ... is just another compile. ... A poster further up the stated that because Ubuntu builds packages from ... Ubuntu should not have a gcc package because to build ...
    (Ubuntu)
  • Re: apt-get + latest package versions
    ... Alex Greg wrote: ... The gcc package is an example of ... in stable the latest version of gcc is 2.95.4-14, ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
    (Debian-User)
  • Re: Any non-GNU compilers? sick of GNU copylefts
    ... Actually it will work for pure C program. ... on Alpha I've compiled my so libraries with gcc ... newer versions) and it is not part of the gcc package. ...
    (comp.unix.programmer)
  • RE: gcc for fedora
    ... gcc that you're using, and have/allow your engineers to rebuild it on FC3, ... compile/build environment close to what rhel has. ... Subject: gcc for fedora ... Fedora Core 3 and RedHat ES4 are different. ...
    (Fedora)