Forked from wisdomfusion/install-gcc-4.9.3-on-centos6.txt
Created
June 22, 2017 09:36
-
-
Save tashirka1/ee81f226c4570f0b71728f3ec62845b6 to your computer and use it in GitHub Desktop.
Install gcc-4.9.3 on CentOS 6
This file contains 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
yum install libmpc-devel mpfr-devel gmp-devel | |
cd /usr/src/ | |
curl ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.9.3/gcc-4.9.3.tar.bz2 -O | |
tar xvfj gcc-4.9.3.tar.bz2 | |
cd gcc-4.9.3 | |
./configure --disable-multilib --enable-languages=c,c++ | |
make -j `grep processor /proc/cpuinfo | wc -l` | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment