Forked from craigminihan/gist:b23c06afd9073ec32e0c
Created
December 23, 2017 17:45
-
-
Save betapcode/a4dbbdd95185a2637f81534cc3338bb7 to your computer and use it in GitHub Desktop.
Build GCC 4.9.2 for C/C++ on CentOS 7
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
sudo yum install libmpc-devel mpfr-devel gmp-devel | |
cd ~/Downloads | |
curl ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.9.2/gcc-4.9.2.tar.bz2 -O | |
tar xvfj gcc-4.9.2.tar.bz2 | |
cd gcc-4.9.2 | |
./configure --disable-multilib --enable-languages=c,c++ | |
make -j 4 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment