On Sat, 30 Nov 2024 at 10:10, Jakub Jelinek <ja...@redhat.com> wrote:
>
> On Sat, Nov 30, 2024 at 09:54:02AM +0000, Jonathan Wakely via Gcc wrote:
> > On Sat, 30 Nov 2024, 09:01 David H. Lynch Jr. via Gcc, <gcc@gcc.gnu.org>
> > wrote:
> >
> > > Is it possible to build gcc 13 with gcc 14 ?
> > >
> >
> > Yes
>
> Note, there are some exceptions, I think e.g. Ada needs the same or older
> major version of gnat and doesn't work well with newer Ada (but if you don't
> need Ada, that is a non-issue).
> Also, if building very old gcc with very new gcc (one year difference is
> fine, but 10 or 30 could be), one can run into the newer compiler erroring
> on something that hasn't been fixed in the old compiler, etc.  Some things
> can be easily worked around e.g. by using -std=gnu89 when GCC was written in
> C, for some things one might need to patch certain minor things.

These branches can help with that
https://github.com/jwakely/gcc/branches/all?query=renovated

But I haven't created a branch for building gcc-13 with gcc-14 because
that should Just Work.

Reply via email to