Saturday, September 25, 2010

Installing GNU Compilers for CentOS 4.x

If you are installing GNU compilers from yum for CentOS 4.x, here is the yum command to achieve it

GNU Compilers for 3.x (C, C++, Fortran 77, Java)
# yum install gcc, gcc-c++, gcc-g77, gcc-java

GNU Compilers for 4.x (C, C++, Fortran 77, Java)
# yum install gcc4, gcc4-c++, gcc4-gfortran, gcc4-java
Or
#yum install gcc4*

No comments: