gcc should support update-alternatives
Bug #145486 reported by
Wolfgang Silbermayr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.2 (Ubuntu) |
Won't Fix
|
Low
|
Matthias Klose |
Bug Description
Binary package hint: gcc-4.2
When you install different versions of gcc, it is not possible to switch between them using the update-alternatives command.
Steps to reproduce this:
sudo aptitude install gcc-4.1 gcc-4.2
update-alternatives --list gcc
the last command writes that there are no alternatives for gcc.
It would be nice, especially for developers that want to verify errors or warnings, to quickly change the gcc version that way.
To post a comment you must log in.
Please can I vote for this enhancement too?
Frankly, I find it bizarre that a system, with at least five C++ compilers (g++ versions 2.95, 3.3, 3.4, 4.1 and 4.2) available, can't easily nominate a default compiler using the Debian alternatives system. Shame on you.
I would welcome pointers to information about making gcc/g++ work with said alternatives system so that I can better appreciate why the above statement shows that I do not understand how hard this is to implement !