Skip to content

Instantly share code, notes, and snippets.

@carlosipe
Created August 1, 2020 10:44
Show Gist options
  • Save carlosipe/d6af5694b852b5898720a6e84f00fda7 to your computer and use it in GitHub Desktop.
Save carlosipe/d6af5694b852b5898720a6e84f00fda7 to your computer and use it in GitHub Desktop.
export http_proxy=$HTTP_PROXY https_proxy=$HTTP_PROXY ftp_proxy=$HTTP_PROXY
wget http://ftpmirror.gnu.org/gcc/gcc-4.9.2/gcc-4.9.2.tar.gz
tar xf gcc-4.9.2.tar.gz
mkdir build-gcc
$ cd build-gcc
$ ../gcc-4.9.2/configure --program-suffix=-4.9.2 --enable-languages=c,c++ --disable-bootstrap --disable-shared
make -j4
make install
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment