This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/63516] New: error when trying to build without a c++ compiler could be better
- From: "tbsaunde at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Oct 2014 19:54:43 +0000
- Subject: [Bug bootstrap/63516] New: error when trying to build without a c++ compiler could be better
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63516
Bug ID: 63516
Summary: error when trying to build without a c++ compiler
could be better
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: tbsaunde at gcc dot gnu.org
CC: segher at gcc dot gnu.org
If for whatever reason you miss the requirement that you need a c++ compiler to
build the first error you hit is
checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int64_t underlying type... long long
configure: error: error verifying int64_t uses long long
Makefile:4042: recipe for target 'configure-stage1-gcc' failed
make[2]: *** [configure-stage1-gcc] Error 1
make[2]: Leaving directory '/src/gcc-opt'
Makefile:21799: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
Which happens because that configure check happens to use C++. It seems to me
explicitly checking for a C++ compiler would be better. This is reproducably
by putting a dummy g++ in your path that just exits 1.
make[1]: Leaving directory '/src/gcc-opt'