This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc install problem
- To: <gcc-help at gcc dot gnu dot org>
- Subject: gcc install problem
- From: "Dan Didier" <didierd at sunyit dot edu>
- Date: Thu, 19 Oct 2000 15:28:40 -0400
I get this problem when trying to install GCC 2.95.2
[root@didier src]# ls
gcc-2.95.2 gcc-2.95.2.tar.gz gcc-build linux-2.2.17.tar.gz redhat
[root@didier src]# cd gcc-build
[root@didier gcc-build]# ../gcc-2.95.2/configure --host=i586 --prefix=/usr \
> --with-gxx-include-dir=/usr/include/g++ \
> --enable-shared --enable-languages=c,c++
Created "Makefile" in /usr/src/gcc-build using "mh-frag" and "mt-frag"
../gcc-2.95.2/configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
What can I do to overcome this problem?
Thanks