Using Yum update gcc can only be updated to gcc-4.4.7-11.el6.x86_64
Download a later version of GCC
http://mirror.hust.edu.cn/gnu/gcc/gcc-4.8.4/
The following error occurred during configuration:
Configure:error:Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
Workaround:
Download missing dependencies for installation
:
Http://www.multiprecision.org/index.php?prog=mpc&page=download
Optional Direct:
Https://gmplib.org/download/gmp/gmp-6.0.0a.tar.lz
https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2
Ftp://gnu.mirror.iweb.com/gmp/gmp-4.2.3.tar.gz
Http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.xz
Http://www.mpfr.org/mpfr-current/mpfr-3.1.2.tar.gz
Ftp://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
Ftp://gnu.mirror.iweb.com/mpc/mpc-1.0.1.tar.gz
Ftp://gnu.mirror.iweb.com/gmp/gmp-4.3.2.tar.gz
Installation Documentation:
Https://gmplib.org/manual/Installing-GMP.html#Installing-GMP
Http://www.mpfr.org/mpfr-current/mpfr.html#Installing-MPFR
Configure:error:Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.