This is the mail archive of the
mailing list for the GCC project.
Re: Changing base compiler requirement for bootstrapping GNAT
> On 19 Jan 2017, at 12:31, Richard Biener <firstname.lastname@example.org> wrote:
> On Thu, Jan 19, 2017 at 12:04 PM, Tristan Gingold <email@example.com> wrote:
>>> On 19 Jan 2017, at 11:46, Richard Biener <firstname.lastname@example.org> wrote:
>>> On Thu, Jan 19, 2017 at 11:11 AM, Tristan Gingold <email@example.com> wrote:
>>>> Is it ok to require gcc 4.9 (3 years old) or later to build GNAT ?
>>>> We plan to use gcc exceptions within the GNAT front-end (previously we were using a FE specific exception mechanism).
>>>> This requires a matching implementation in the runtime, which was last changed for gcc 4.9
>>>> Our idea is to completely remove in GNAT the support of the FE specific exception mechanism.
>>>> Is anyone opposed to such a change ?
>>> But as you are bootstrapping you should always have a matching
>>> runtime, no?
>> Yes for stage-2 and stage-3, but not always for stage-1.
>> To clarify: the gnat1 and gnatbind binaries are not linked with libgnat, but are built in a standalone way. GNAT1_OBJS contains both the objects for the compiler sources and the objects for the needed runtime sources.
> Oh, I can see how that breaks then... the stage1 gnat1/gnatbind
> should use the host Ada compiler runtime
That's a possibility we are also discussing, but it is much more difficult.
Maybe for later (Eric strongly supports that idea).
> (does bootstrapping GNAT with
> a non-GNAT Ada compiler work? It really should!),
I could work on that if you (or someone else) gives me a non-GNAT Ada compiler for my machine :-)