This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: My system is not listed for the version of GCC that I builted
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Carlos Rubio Nievas <carlos dot rubio at campus dot uab dot es>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 19 Nov 2002 09:08:19 -0800
- Subject: Re: My system is not listed for the version of GCC that I builted
- References: <0H5T005GRNMXOO@campus.uab.es>
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