Created
February 8, 2018 19:38
-
-
Save egregius313/60082998efaaf93910228b330d4258f7 to your computer and use it in GitHub Desktop.
Script for bootstrapping gcc and g++ (4.9) on Mac OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
which brew || /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install [email protected] | |
echo "alias gcc='gcc-4.9'" >> .bash_profile | |
echo "alias g++='g++-4.9'" >> .bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment