[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing second gcc



Colin Watson wrote:
On Mon, Mar 03, 2003 at 11:18:45PM +1100, Russell Shaw wrote:

Is there a debian way to make the system use 3.2, or do i just
rename gcc-3.2 to gcc and apt-remove the old gcc?

See /usr/share/doc/gcc-3.2/README.Debian.gz.

"update-alternatives --display gcc" says there's no alternatives.

Deliberately so, yes.

Hi,
I haven't configured alternatives before. I get an error:
--------------------------------------------------------
russell@main#: update-alternatives --config cc

There is only 1 program which provides cc
(/usr/bin/gcc). Nothing to configure.
--------------------------------------------------------

Currently,
  /etc/alternatives/cc -> /usr/bin/gcc -> gcc-2.95

In /usr/bin, there is gcc-2.95, gcc-3.0, and gcc-3.2. What is
the proper way to make gcc-3.2 the system default?



Reply to: