Problems with RTEMS toolchain build 4.12 & 5 incl. Ada support

William Busacker wbusacker at outlook.com
Fri Nov 30 23:11:21 UTC 2018


Ran into this kind of problem a while back last time I was playing with the build toolchain for Raspberry Pi. Apparently building Ada support with the RSB has been hella broken for a while. I got it working but then decided Ada was a terrible language and dropped it. Didn't want to use a language that most online reference manuals degraded you for using anything but Ada.....

You could follow the outline here https://taste.tuxfamily.org/wiki/index.php?title=Building_a_TASTE-y_RTEMS and it should get it working for you. Skip the step about applying a patch to GCC, don't need that anymore for some reason.

From what I figured out is that when GNAT is building there are certain checks or configurations that fail out somehow but the build keeps going. What you end up needing to do is make sure you have GNAT on the build platform (eg x86) and that it is the same version that you are trying to build your target GNAT compiler (eg ARM). Then build the RTEMS Toolchain for C and C++ but not Ada. Then go back and redo the RSB step targeting the exact same directories, but this time passing in the flag to specify the Ada language. The flag is somewhere in the RSB manual, I forget where though.

Out of curiosity, what do you plan on doing with it? If you're looking to just play around with RTEMS I highly recommend the Raspberry Pi. Totally not biased towards it, nope not at all :)

-Will B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20181130/5ac02f15/attachment.html>


More information about the users mailing list