Created
August 8, 2017 07:06
-
-
Save pablomp/237ee367e4a0ac060ed83d3d40e2285a to your computer and use it in GitHub Desktop.
Build GCC-7.1.0 on CentOS 7
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
sudo yum install libmpc-devel mpfr-devel gmp-devel | |
cd ~/Downloads | |
curl ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-7.1.0/gcc-7.1.0.tar.bz2 -O | |
tar xvfj gcc-7.1.0.tar.bz2 | |
cd gcc-7.1.0 | |
./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