Out of the box Ada support

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jun 14 09:32:04 UTC 2017


Hello,

as a side-effect of the move of some POSIX header files from RTEMS to 
Newlib it is now possible to create the Ada compiler with the normal 
tool chain build. Ada is available on all RTEMS targets that support 
thread-local storage (TLS). This is currently ARM, PowerPC, SPARC, m68k 
and x86. To build a tool chain with Ada support use the RSB, for example:

../source-builder/sb-set-builder --prefix=/opt/rtems-4.12 4.12/rtems-arm 
--with-ada

This yields:

arm-rtems4.12-gnat --version
GNAT 7.1.0 20170502 (RTEMS 4.12, RSB 
0ba8934976c2821d76ad770c633da85d99b53e2c, Newlib 2.5.0.20170519)
Copyright (C) 1996-2017, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE.

You need a native GNAT installed to build the Ada compiler. You have to 
delete the build directory of the RSB before you start with the new tool 
chain build due to https://devel.rtems.org/ticket/3048.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list