Skip to content

Instantly share code, notes, and snippets.

@kkayal
kkayal / build-gcc-8.2.sh
Created February 8, 2019 14:32
Compile gcc 8.2 on ubuntu 18.04.1 LTS
#!/bin/bash
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install binutils gcc g++ wget make lzip texinfo
mkdir ~/gcc
mkdir ~/gcc-src
# Get GCC 8.2 from the official source