Selecting compiler versions with update-alternatives

sudo update-alternatives --config g++
sudo update-alternatives --config gfortran

Or, this Bash script switches compiler versions for gcc g++ gfortran

To easily select compiler versions, the update-alternatives program is a much better way than manually making soft links.

Categories:

Updated: