[Bug ada/69883] gcc-6.0 unable to build gcc-4.9 with ada
bernd.edlinger at hotmail dot de
gcc-bugzilla@gcc.gnu.org
Sat Feb 20 14:52:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69883
--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(In reply to charlet@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.
More information about the Gcc-bugs
mailing list