[Bug ada/69883] gcc-6.0 unable to build gcc-4.9 with ada
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69883 --- Comment #4 from Bernd Edlinger --- (In reply to char...@adacore.com from comment #3) > > I could understand that I can not build something form 1992 with todays > > tools, but what I do not understand conceptionally, why the host compiler > > seems to link with the target compiler's runtime, would it work as a > > cross build then? > > No, for a cross build you need an identical native compiler (same version) > to start with. > > For native you need an older (or equal) compiler. > > > Could I even get into trouble building gcc4.9 with gcc-5 as host? > > Yes. > > Arno Hmm, that's pretty awkward, especially as the same gcc-driver must understand ada and C/C++ at the same time or the build fails immediately, that forces me to have not only gnat but also C/C++ of the same build date, in binary form. Bernd.
[Bug ada/69883] gcc-6.0 unable to build gcc-4.9 with ada
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69883 --- Comment #3 from charlet at adacore dot com --- > I could understand that I can not build something form 1992 with todays > tools, but what I do not understand conceptionally, why the host compiler > seems to link with the target compiler's runtime, would it work as a > cross build then? No, for a cross build you need an identical native compiler (same version) to start with. For native you need an older (or equal) compiler. > Could I even get into trouble building gcc4.9 with gcc-5 as host? Yes. Arno
Re: [Bug ada/69883] gcc-6.0 unable to build gcc-4.9 with ada
> I could understand that I can not build something form 1992 with todays > tools, but what I do not understand conceptionally, why the host compiler > seems to link with the target compiler's runtime, would it work as a > cross build then? No, for a cross build you need an identical native compiler (same version) to start with. For native you need an older (or equal) compiler. > Could I even get into trouble building gcc4.9 with gcc-5 as host? Yes. Arno
[Bug ada/69883] gcc-6.0 unable to build gcc-4.9 with ada
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69883 --- Comment #2 from Bernd Edlinger --- (In reply to Arnaud Charlet from comment #1) > You must use an older (or equal) version of GNAT to build GNAT, using a more > recent version won't work in general, as shown by this PR, and isn't > supported. > > Arno Hi Arno, I could understand that I can not build something form 1992 with todays tools, but what I do not understand conceptionally, why the host compiler seems to link with the target compiler's runtime, would it work as a cross build then? Could I even get into trouble building gcc4.9 with gcc-5 as host? Bernd.
[Bug ada/69883] gcc-6.0 unable to build gcc-4.9 with ada
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69883 Arnaud Charlet changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC||charlet at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Arnaud Charlet --- You must use an older (or equal) version of GNAT to build GNAT, using a more recent version won't work in general, as shown by this PR, and isn't supported. Arno