This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Successfull install



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]