My system is not listed for the version of GCC that I builted

Janis Johnson janis187@us.ibm.com
Tue Nov 19 10:26:00 GMT 2002


On Tue, Nov 19, 2002 at 12:56:42PM +0100, Carlos Rubio Nievas wrote:
> I have successfully built and installed GCC. It seems like I've done nothing 
> cause the gcc program that runs is still the old one. Here is some information 
> that might be usefull for you to find a solution for my problem:
> 
>    -Output from running srcdir/config.guess.
> 
> 	i686-pc-linux-gnu
> 
>    -The output of gcc -v for your newly installed gcc.
> 
> 	Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> 	gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)

This is the one that was already on your system.  What did you specify
with the --prefix option to configure?  By default it's /usr/local.

Look at the value of your PATH variable (echo $PATH); you'll want the
GCC install directory to come before /usr/bin.  You can also invoke your
new compiler directly by specifying the complete pathname, e.g.
/usr/local/bin/gcc.

> I hope this is enought information to solve the problem. I'm looking forward 
> to your response. Thanks a lot,

I hope this helps.

Janis



More information about the Gcc mailing list