Re: Multiple versions of gcc installed
Brendan Simon writes:
> I have 2 debian powerpc machines with testing and stable installed.
> gcc-2.95.4 is installed on stable and gcc-3.3.4 on testing.
> I want to compile with the same compiler on both so I installed gcc-2.95
> on the testing machine.
> i.e. I have 3.3.4 and 2.95.4 installed simulataneously.
>
> Problem: I can't execute the older 2.95 compiler using the appropriate
> gcc switches. -V or -B.
> See below. Looks like there are a few installation problems for
> multiple versions of gcc.
IIRC with newer versions you have to use -V _and_ -B. but better go
with CC=gcc-2.95 CXX=g++-2.95.
Reply to: