Last active
July 2, 2017 04:39
-
-
Save spvkgn/0e64d620bf5ef41f81cda115ffcff108 to your computer and use it in GitHub Desktop.
add gcc 4.9 alternative
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/sh | |
sudo apt install -y gcc-4.9 g++-4.9 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment