Installation problem

Marc-André Breton marc.andre.breton@lagrit.etsmtl.ca
Mon Mar 3 21:04:00 GMT 2003


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@lagrit12 gcc-3.2.2]# ./configure
5) [root@lagrit12 gcc-3.2.2]# make
6) [root@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



More information about the Gcc-help mailing list