Bob Tanner <tanner at real-time.com> wrote:
> 
> In the pre-RPM days, I use to have several version of gcc on a box and
> use the -V version to select which gcc release I wanted to use.

I don't know about versions, but I know different architectures can be
specified.  When I did some Palm programming for one of my classes, I had
to download a version of gcc that could output the right binary (it was
called gcc-m68k-coff or something).

Anyway, the package I got included files that went in a directory in
/usr/lib/gcc-lib.  If you have multiple versions of gcc for i386, they'd
probably appear in /usr/lib/gcc-lib/i386-<blah>-linux/<version>/.

Actually, now that I look, I see that I have two versions of gcc on my
system right now:

gcc:  /usr/lib/gcc-lib/i386-redhat-linux/2.96/
kgcc: /usr/lib/gcc-lib/i386-glibc21-linux/egcs-2.91.66/

It defaults to gcc 2.96, but I can run 2.91.66 with the command `gcc -V
egcs-2.91.66'


I guess this is one of those ``it works for me, sorry'' answers..

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   If marriage is outlawed, 
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   only outlaws will have  
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)  inlaws. 
[ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088 at tc.umn.edu ]