This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/52007] configure: error: installation or configuration problem: C compiler cannot create executables
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 26 Jan 2012 10:41:20 +0000
- Subject: [Bug bootstrap/52007] configure: error: installation or configuration problem: C compiler cannot create executables
- Auto-submitted: auto-generated
- References: <bug-52007-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52007
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-26 10:41:20 UTC ---
The problem you're facing is that you didn't read the documentation on
installing GCC, starting at http://gcc.gnu.org/install/ and summarised at
http://gcc.gnu.org/wiki/InstallingGCC
We can't really help you if you don't read the documentation.
The first prerequisite for compiling GCC is a working compiler. You've told
configure to use CC=gcc but apparently you don't have gcc installed. That's
not going to work.
If it's a rhel5 box then install the gcc rpm.