[PLUG] Two versions of gcc?

Lancashire, Pete plancashire at ci.portland.or.us
Fri Feb 24 22:37:32 UTC 2006


you can have a gcc4 and gcc4 directory tree, and
when you need to compile something with the older
gcc, do something like cc=gcc3 if you are using
./configure or cc == gcc version 4 and cc3 == v' 3

i dont know if their is a naming 'standard' for
mixing them.

-pete

> -----Original Message-----
> From: Larry Brigman [mailto:larry.brigman at gmail.com]
> Sent: Friday, February 24, 2006 2:33 PM
> To: General Linux/UNIX discussion and help, civil and on-topic
> Subject: Re: [PLUG] Two versions of gcc?
> 
> 
> On 2/24/06, Robert Kopp <iconoklastic at yahoo.com> wrote:
> > I am compiling an application that is not supposed to
> > be compiled with a gcc-4 version, but that's what I
> > have. It it possible to have two versions of gcc
> > installed, and invoke the one you want?
> >
> 
> from gcc --help
> -V <version> will run the version of gcc (if installed)
> 
> How you get more than one version installed I have not tried but I
> know it is possible.
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 



More information about the PLUG mailing list