Created
February 22, 2023 14:13
-
-
Save nikkadim/bd209b645192533c273b0720fa36e182 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 ~/tmp | |
curl https://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-10.4.0/gcc-10.4.0.tar.gz -O | |
tar zxvf gcc-10.4.0.tar.gz | |
cd gcc-10.4.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