To install this version of gcc: ~$ brew install gcc@7 Does not seem to work with gcc-8 (missing headers…).