Skip to content

Instantly share code, notes, and snippets.

View raghughanapuram's full-sized avatar

Raghu Ghanapuram raghughanapuram

View GitHub Profile
@raghughanapuram
raghughanapuram / gcc_4.7_for_Fedora_22.sh
Created April 27, 2017 06:34 — forked from joka90/gcc_4.7_for_Fedora_22.sh
How to build and install gcc 4.7 for Fedora 22 alongside gcc 5.1
#!/bin/bash
#Install build dependencies
sudo dnf groupinstall "Development tools"
sudo dnf install mpfr-devel gmp-devel libmpc-devel zlib-devel glibc-devel.i686 glibc-devel
wget http://mirror2.babylon.network/gcc/releases/gcc-4.7.4/gcc-4.7.4.tar.bz2
tar xvfj gcc-4.7.4.tar.bz2
cd gcc-4.7.4