This is the mail archive of the gcc@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]
Other format: [Raw text]

cc: command not found


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.


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