解决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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容