Re: ./configure gcc-3.4.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Plantier, Spencer" <spencer.plantier@xxxxxxxxxxxx> writes:

> I am new to Unix and need to install GCC. I have downloaded GCC-3.4.3
> and did a ./configure and it errored out saying ./ configure: cc: not
> found
> 
> ***the command 'cc -o conftrest -g conftest.c' failed
> 
> ***you must set the environment variable CC to a working compiler.
> 
>  
> 
> Can you give me the exact steps to fix this. I have googled the error
> but since I am learning this on my own it the fixes didn't make a whole
> lot of sense.

In order to build gcc yourself, you need to have a working C compiler
already.  Yes, this is a catch-22.  It can be avoided by using a
prebuilt binary distribution of gcc.  Binary distributions are
available for most platforms which do not routinely provide C
compilers.  You neglected to say which platform you are using.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux