This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR81878]: fix --disable-bootstrap --enable-languages=ada, and cross-back gnattools build
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Alexandre Oliva <oliva at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Eric Botcazou <ebotcazou at adacore dot com>, Pierre-Marie de Rodat <derodat at adacore dot com>
- Date: Mon, 12 Nov 2018 13:04:18 +0100
- Subject: Re: [PR81878]: fix --disable-bootstrap --enable-languages=ada, and cross-back gnattools build
- References: <ora7mepkur.fsf@lxoliva.fsfla.org>
> I've considered sourcing ada/config-lang.in from within
> gnattools/configure, and testing lang_requires as set by it, so as to
> avoid a duplication of tests that ought to remain in sync, but decided
> it would be too fragile, as ada/config-lang.in does not expect srcdir
> to refer to gnattools.
>
> Please let me know if there are objections to this change in the next
> few days, e.g., if enabling C and C++ for an Ada-only build is too
> onerous. It is certainly possible to rework gnattools build machinery
> so that it uses CC and CXX as detected by the top-level configure if we
> can't find xgcc and xg++ in ../gcc. At least in cross builds, we
> already require build-time Ada tools to have the same version as that
> we're cross-building, so we might as well use preexisting gcc and g++
> under the same requirements.
No objection from me assuming it doesn't again break some builds in subtle
ways :-) (In which case we'll have to revert again).
Arno