This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc configure problem
- To: "Sharifi, Hamid" <hamid dot sharifi at cnh dot com>
- Subject: Re: gcc configure problem
- From: Billy Hutton <huttonb at digitalin-site dot com>
- Date: Tue, 16 Jan 2001 17:26:19 -0700 (MST)
- cc: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
> I installed gcc 2.95.2, but I ran into problems when trying to build apache,
> so I de installed it. I'm trying to install it again, I get the following
> error.
> configure: error: no acceptable cc found in $PATH
You still need a compiler to compile your new compiler. :)
You've probably got the original gcc binary on your machine somewhere, and
it's not in the path. (ie /usr/bin/gcc). You can change your path
statement in /etc/profile or ~/.profile or just export a system variable
of CC=/usr/bin/gcc. Just be sure to use the actual path to your gcc bin.
You can also download a binary package of gcc install it, and use it to
re-compile gcc to your liking.
Good luck!
Billy