Skip to content

Instantly share code, notes, and snippets.

@MihaiLupoiu
Forked from maxlevesque/build_gcc.sh
Created January 5, 2016 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MihaiLupoiu/93caa773dcb8b687c31b to your computer and use it in GitHub Desktop.
Save MihaiLupoiu/93caa773dcb8b687c31b to your computer and use it in GitHub Desktop.
how to install gcc 5.2 on ubuntu 15.04
sudo apt-get install libgmp-dev libmpc-dev libisl-dev libmpfr-dev
wget http://mirror1.babylon.network/gcc/releases/gcc-5.2.0/gcc-5.2.0.tar.bz2
tar jxvf gcc-5.2.0.tar.bz2
mkdir objdir
cd objdir
../gcc-5.2.0/configure --prefix=/tmp/mygcc5.2 --disable-multilib --disable-werror
make -j
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment