Ada Toolchain for RTEMS 4.10/LEON3
Peter.Mendham at scisys.co.uk
Wed Apr 28 21:06:26 UTC 2010
I have a requirement for Ada support on RTEMS 4.10 and, although I know that this is not currently supported, I thought I would give it a try. I have been following, roughly, the instructions on the wiki. My current build attempt is based on:
I build sparc-rtems binutils, a multilibbed native gcc with C and Ada support, a multilibbed sparc-rtems gcc with C and C++ support only, followed by a multilibbed sparc-rtems gcc with C, C++ and Ada support. I specify a sysroot during the cross-compile builds. Predictably, everything goes wrong for me during the final step. The build drops out with errors in gcc/ada/rts/socket.c. These seem to be related to missing types (especially struct servent). I'm guessing this should come from gsocket.h, and there are some interesting comments in that file about RTEMS support but I'm afraid that I don't understand a word of them.
I previously tried a build with gcc 4.4.3 and got hung up on s-oscons.ads generation, again preventing socket code from compiling (but Ada code this time).
Has anyone successfully built a multilibbed Ada toolchain for recent RTEMS versions? It looks some major issues have been resolved, especially since the wiki entry was written. Can anyone offer any advice?
Thanks in advance,
SciSys UK Limited. Registered in England and Wales No. 4373530.
Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.
* Before printing, please think about the environment.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users