gcc install problem

Dan Didier didierd@sunyit.edu
Thu Oct 19 12:24:00 GMT 2000


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



More information about the Gcc-help mailing list