I need to install cuda 5 on Mint 14. Cuda 5 doesn't work with gcc-4.7 and g++-4.7, the default version of Mint 14 so I installed gcc-4.5 and g++-4.5.
Now I'd like to use "update-alternatives" to make gcc-4.5 and g++-4.5 the default version during the installation but "update-alternatives --query gcc" says that there isn't an alternative (version 4.5) installed?!?!
Infact version 4.5 is installed from the repository.
How can I make update-alternatives aware of version 4.5?