Skip to content

Instantly share code, notes, and snippets.

View gromero's full-sized avatar

Gustavo Romero gromero

  • Linaro
  • Brazil, São Paulo
View GitHub Profile
@gromero
gromero / gcc-5.4.0-install.sh
Created April 19, 2018 13:54 — forked from jdhao/gcc-5.4.0-install.sh
The script will install GCC 5.4.0 on your CentOS 7 system, make sure you have root right.
echo "Downloading gcc source files..."
curl https://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2 -O
echo "extracting files..."
tar xvfj gcc-5.4.0.tar.bz2
echo "Installing dependencies..."
yum install gmp-devel mpfr-devel libmpc-devel
echo "Configure and install..."