
On 25/11/14 18:23, Trent W. Buck wrote:
Michele Bert <micbert75@gmail.com> writes:
2014-11-25 1:31 GMT+01:00 Trent W. Buck <trentbuck@gmail.com>:
AFAIK there is no standard way to make it the default, though I suppose you could do something like this in your .profile: Have a look to the command update-alternatives I'm not sure whether it is applicable to debian, but under Ubuntu it's the standard way to choose between multiple version of a package, when there are some. In my Ubuntu 12.04 the default compiler is 4.4, but I installed also 4.6. Then with command: sudo update-alternatives --config gcc (or g++, or whatever)
Yes, this is entirely applicable to Debian - update-alternatives is the standard tool for this purpose in Debian, where it ORIGINATED.