Skip to content

Instantly share code, notes, and snippets.

@jeetsukumaran
jeetsukumaran / build-gcc.sh
Last active January 17, 2024 13:29
Build and Install GCC Suite from Scratch
#! /bin/bash
GCC_VERSION="5.2.0"
WORKDIR="$HOME/src/"
INSTALLDIR="/platform"
## NOTE: XCode must be installed (through App Store) and the following run to install command-line tools.
## THIS IS IMPORTANT! Among other things, it creates '/usr/include' and installs the system header files.
# xcode-select --install