This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Installation problem
- From: Marc-André Breton <marc dot andre dot breton at lagrit dot etsmtl dot ca>
- To: "GCC - Mailing List" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 3 Mar 2003 16:05:33 -0500
- Subject: Installation problem
- Organization: Lagrit
Hi all,
I had an old version of gcc (gcc-2.96) and I tried to install the last release
(gcc-3.2.2). I work on a Linux platform, so I did the following steps to
install it:
1) download gcc-3.2.2.tar.gz from one of mirror sites
2) uncompressed this file in /home (Now I have /home/gcc-3.2.2)
3) cd /home/gcc-3.2.2
4) [root at lagrit12 gcc-3.2.2]# ./configure
5) [root at lagrit12 gcc-3.2.2]# make
6) [root at lagrit12 gcc-3.2.2]# make install
All seem work well but when I type in my console "gcc -v", I see that it's the
old version who is working again.
{Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96110)}
What can I do to Switch between my new version of gcc? Does my installation
procedure is correct?
Marc