Mailinglist Archive: opensuse-edu (194 mails)

< Previous Next >
updating gcc
Could anyone tell me what I'm doing wrong here?

I'm still using suse 7.2 and recently I tried installing an
application that I think needs a more recent library that comes with
the c compiler.

So, I got gcc-3.2.tar.gz, putting it into /root/downloads/gcc
uncompressing it created:
/root/downloads/gcc/gcc-3.2
I made
/root/downloads/gcc/objdir
and from there did
/root/downloads/gcc/gcc-3.2/configure
followed by
make bootstrap
It took almost 12 hours to compile!
Then I did
make install

Now, gcc -v is reporting different versions, depending who I am!

If I log on as root, gcc -v reports 3.2

If I log on as an ordinary user and then su to root,
gcc -v reports 2.95.3 , reading specs from a different place.

Could anyone advise?

thanks
Richard
--
richard@xxxxxxxxxxxxxxxxxxxx



< Previous Next >