[PATCH] Don't require C++ bootstrap compiler (PR bootstrap/46810)

Ian Lance Taylor iant@google.com
Mon Dec 6 20:29:00 GMT 2010


Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:

> This duplicates information from gcc/go/config-lang.in, namely that
> lang_requires_boot_languages contains c++.  A cleaner way would be to
> extract that from there.  The current loop sourcing the config-lang.in
> files from within gcc/configure.in happens only much later, and
> reordering the header checks would be awkward too.  It may be a bit
> tough to reject this patch for this reason; please allow some time for
> other build maintainers to chime in before you commit.

Ralf, is there any way to tell autoconf to just skip the tests if there
is no C++ compiler?  That is what I foolishly assumed is what would
happen here.  The results of the tests simply don't matter if there is
no C++ compiler.

Ian



More information about the Gcc-patches mailing list