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]

gcc install problem


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


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