一:在centos上安装gcc 和g++的自定义环境
采用rpm 安装对应包
二:对应gcc版本安装
相关库和对应的下载路径
qmp
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/gmp-4.3.1-13.el6.x86_64.rpm
rpm -ivh gmp-4.3.1-13.el6.x86_64.rpm -- 这个命令报错,存在相关的高版本存在
rpm -e --nodeps gmp-4.3.1-13.el6.x86_64.rpm -- 强制安装对应的相关库
ppl
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/ppl-0.10.2-11.el6.x86_64.rpm
rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm
cloog
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm
mpfr
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/mpfr-2.4.1-6.el6.x86_64.rpm
rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm
cpp
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-scientificlinux/6.8/x86_64/os/Packages/cpp-4.4.7-17.el6.x86_64.rpm
rpm -ivh cpp-4.4.7-17.el6.x86_64.rpm
kernel-header
wget ftp://ftp.icm.edu.pl/vol/rzm3/linux-scientificlinux/6.5/x86_64/updates/security/kernel-headers-2.6.32-642.15.1.el6.x86_64.rpm
rpm -ivh kernel-headers-2.6.32-642.15.1.el6.x86_64.rpm
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余2页未读,立即下载