Install gcc 4.7+ in CentOS

Articles 2014/04/22 22:41 용비
You could simply use his repo and install just gcc, instantly.
1. gcc 4.7 Install

cd /etc/yum.repos.d
wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo
yum --enablerepo=testing-1.1-devtools-6 install devtoolset-1.1-gcc devtoolset-1.1-gcc-c++

2. Edit Bash File

export CC=/opt/centos/devtoolset-1.1/root/usr/bin/gcc  
export CPP=/opt/centos/devtoolset-1.1/root/usr/bin/cpp
export CXX=/opt/centos/devtoolset-1.1/root/usr/bin/c++

3. gcc 4.8 Install

cd /etc/yum.repos.d
wget http://people.centos.org/tru/devtools-2/devtools-2.repo
yum --enablerepo=testing-devtools-2-centos-6 install devtoolset-2-gcc devtoolset-2-gcc-c++



받은 트랙백이 없고, 댓글이 없습니다.

댓글+트랙백 RSS :: http://www.yongbi.net/rss/response/589

트랙백 주소 :: http://www.yongbi.net/trackback/589

트랙백 RSS :: http://www.yongbi.net/rss/trackback/589

댓글을 달아 주세요

댓글 RSS 주소 : http://www.yongbi.net/rss/comment/589
[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다