Successfull install

Eric Christopher echristo@cygnus.com
Tue Feb 29 10:38:00 GMT 2000


> I just installed gcc version 2.95.2 and it went ok, when I ran config.guess I got: i686-pc-linux-gnu
> BUT,
>  when I ran gcc -v or egcs -v I got: Reading Specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
>                                  gcc version egcs-2.91.66    19990314/Linus
>                                  (egcs-1.1.2 release)
> Still the old version. It's like I never did the upgrade. And I can't compile simple C++ programs as a result.

If you built from source you probably installed into /usr/local and it
looks like you have /usr/bin in your path before /usr/local/bin.  Try
resetting your path and making sure you are calling the correct
gcc/g++.  Another thought is to check the permissions on your install.

-eric


More information about the Gcc mailing list