https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69883

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
(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.

Reply via email to