Arnaud Charlet wrote:
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).
That's what I have been doing. My procedure is:
+ build a native
+ build a C/C++ cross
+ build the Ada cross
With that I have managed to build 4.2.x and SVN trunk
and post ACATS for PowerPC, SPARC, and i386 on RTEMS.
SPARC and PowerPC look very good. I am using qemu to
test the i386 and something isn't quite right for i386.
It looks like it branches off to never never land and then
gets a fault. I haven't had a chance to look into it yet.
I posted results to gcc-testresults.
--joel
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
--
Joel Sherrill, Ph.D. Director of Research & Development
[EMAIL PROTECTED] On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985