This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cc: command not found
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: Anthony Barkley <arbarkle at unity dot ncsu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 16 Jul 2002 16:38:56 +0100 (BST)
- Subject: cc: command not found
- References: <200207161534.g6GFY0N11398@uni10mr.unity.ncsu.edu>
Anthony Barkley writes:
> I have a problem installing gcc... here is what i get when i ./configure
> # ./configure --prefix /usr/local
> Configuring for a i686-pc-linux-gnuldld host
> Created "Makefile" in /usr/local/gcc-3.1 using "mt-frag"
>
> thses are the errors that i get:
> ./configure: cc: command not found
> *** the command'cc -o conftest -g conftest.c ' failed.
> *** You must set teh ecviroment variable CC to a working complier.
>
> I have no idea why I'm getting theses errors. I'm a missing something
> Pls advise how to set CC in my environment.
Either your path does not include /usr/bin or /usr/bin/cc does not
exist. You need a working C compiler to build gcc.
Andrew.