到下面网站下载rpm包
http://rpm.pbone.net/index.php3/
rpm -ivh libstdc++-devel-4.4.7-17.el6.x86_64.rpm --nodeps --force
rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm --nodeps --force
rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm --nodeps --force
rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm --nodeps --force
rpm -ivh cpp-4.4.7-17.el6.x86_64.rpm --nodeps --force
rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm --nodeps --force
rpm -ivh glibc-headers-2.12-1.166.el6.x86_64.rpm --nodeps --force
rpm -ivh glibc-devel-2.12-1.166.el6.x86_64.rpm --nodeps --force
rpm -ivh libstdc++-devel-4.4.7-17.el6.x86_64.rpm --nodeps --force
rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm --nodeps --force
rpm -ivh gcc-c++-4.4.7-17.el6.x86_64.rpm --nodeps --force
参考:
https://blog.csdn.net/u010438469/article/details/80699844
转载于:https://blog.51cto.com/xiaoxiaozhou/2157201