Hi All,
i have installed RH 9.0 on my machine, but my problem is the version of gcc(v3.2.2) it is built with. I was trying to install the new version (3.4.5). I copied the gcc-3.4.5.tar.gz from mirror. ran the following commands in order:
---
$ gzip -d gcc-3.4.5.tar.gz
$ tar xvf gcc-3.4.5.tar
$ cd gcc-3.4.5
$ ./configure --prefix=/usr/lib/gcc-3.4.5
$ make
$ make install
---
upto here everything went fine (except the fact that "make" took some 4-5 hours which might be OK???, on the other hand "make install" took 15-20 minutes only !!). Now i tried to compile a small file as "gcc -V 3.4.5 test.c"
but got the following errors:
---
gcc: installation problem, cannot exec `cc1': No such file or directory
---
but on the other hand "gcc test.c" works fine and "gcc -v test.c" shows that it is working with gcc v3.2.2 (exactly: "gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)").
I tried to look onto gnu website and was overwhlemed by the terms they have used
. On the configuration part, they have asked to use "objdir" and "srcdir", and "installation on top level directory" but I could not understand what exactly they meant by them (afterall, i AM a newbie
, right).
So guys, please help. All I want is a workable version of gcc-3.4.5.
Thanks --mlaich