
25 Nov
2014
25 Nov
'14
9:56 a.m.
On 25/11/14 19:52, Michele Bert wrote:
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) I can choose the version I prefer.
Thanks. I'll look into that.