Questions about applications and software
Before you post please read this
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?
- Level 1
- Posts: 22
- Joined: Fri Jun 04, 2010 11:59 am
Problem is indeed there is no alternatives registration for gcc or g++. Another user has figured out a while back the commands to run to make a new alternatives registration for gcc and g++. See here: http://askubuntu.com/a/26518
. Just replace version 4.3 and 4.4 with 4.5 and 4.7 and you should be set
You only need to follow the steps under "Install Alternatives" and "Configure Alternatives".
- Level 20
- Posts: 12419
- Joined: Wed Jul 06, 2011 3:58 am
- Location: The Netherlands
Users browsing this forum: Bing [Bot], dagon, Google [Bot], Helladen, matt601, nomko and 15 guests