Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Build GCC 4.9.2 for C/C++ on CentOS 7
sudo yum install libmpc-devel mpfr-devel gmp-devel
cd ~/Downloads
curl -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