Created
August 31, 2018 12:04
-
-
Save v0112358/24bf26795025af07128a69337443d8e7 to your computer and use it in GitHub Desktop.
Install Gcc 5.4 on CentOS 7.x
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
wget https://ftp.gnu.org/gnu/gcc/gcc-5.5.0/gcc-5.5.0.tar.bz2 | |
tar xjvf gcc-5.4.0.tar.bz2 | |
yum install -y gmp-devel mpfr-devel libmpc-devel | |
mkdir gcc-5.5.0-build | |
cd gcc-5.5.0-build | |
../gcc-5.5.0/configure --enable-languages=c,c++ --disable-multilib | |
make -j$(nproc) && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment