This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ada: building 4.3 cross-gnattools with gcc-4.2.1


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]