Re: How to set default compiler to 4.0?
On Fri, Nov 04, 2005 at 02:52:44PM +0100, Joost Kraaijeveld wrote:
> I have installed 3 versions og gcc: 3.3 , 3.4 and 4.0. How do I set the
> deafult compiler to 4.0, using the update-alternative command? For some
> reason I do not get a choice if I run "update-alternatives --config c
> ++".
Gee, that's probably because gcc doesn't participate in the alternatives
system.
> Or should I just change the symlinks in /usr/bin by hand?
No, you should instead refrain from breaking what you do not understand and
instead simply specify which compiler you want to use. As you've noticed,
you *can* have more than one installed.
--
Marc Wilson | [It is] best to confuse only one issue at a time.
msw@cox.net | -- K&R
Reply to: