This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Installation problem


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


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