Ada: building 4.3 cross-gnattools with gcc-4.2.1
Arnaud Charlet
charlet@adacore.com
Sun Feb 17 09:52:00 GMT 2008
> 1) Is it supposed to work? (i.e. building an Ada cross compiler 4.3 by a
> 4.2 compiler)
No, as documented, you need a matching native compiler to build a cross Ada
compiler (e.g. build from the same 4.3 sources a native compiler first, and
then use it to build the cross compiler).
> 2) does it work to build 4.3 cross-gnattools with the current 4.3 Ada
> compiler?
It does in general. I do not know for avr in particular.
> 3) Would a patch be accepted that makes the 4.3 gnattols be compilable
> by 4.2 compiler?
In general, no. On a case by case basis, assuming the patch is simple and
does not make the code worse in terms of maintenance, then it can be OK.
Arno
More information about the Gcc
mailing list