解决Centos6编译错误:expecting string instruction after `rep

centos6,gcc4.8.2下出现expectingstringinstructionafter`rep’的错误,解决方法: youneedtoinstalldevtoolset2.1

centos6,gcc 4.8.2下出现expecting string instruction after `rep’的错误,解决方法:

you need to install devtoolset 2.1

then install devtoolset-libutils

follow gnu build instuctions, should build fine now.

具体可以按照以下命令执行:

wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo

yum install devtoolset-2-gcc devtoolset-2-binutils

yum install devtoolset-2-gcc-gfortran

你可能感兴趣的:(解决Centos6编译错误:expecting string instruction after `rep)