Created
January 10, 2019 02:47
-
-
Save kilfu0701/f864edcf3287a377a707ea69d9d18ef8 to your computer and use it in GitHub Desktop.
CentOS 5 with gcc 4.8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 devtoolset-2-gcc-c++ | |
ln -s /opt/rh/devtoolset-2/root/usr/bin/* /usr/local/bin/ | |
hash -r | |
gcc --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment