Building Ada for RTEMS

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jan 23 06:22:49 UTC 2019


Hello Joel,

On 22/01/2019 23:04, Joel Sherrill wrote:
> Hi
>
> I put this on hold for the Christmas holidays and wanted to post what 
> worked and didn't for me. This is on Centos 7 building C, C++ and Ada 
> to target sparc-rtems5 using the RSB master.
>
> I tried various gcc versions with Ada support. I ensured which gcc I 
> was using by putting it at the front of my PATH and doing "gcc 
> --version" before I started the RSB build.
>
> + RSB build fails with base gcc from CentOS. It is gcc 4.8.5
> + RSB build fails with gcc from git master.
> + RSB build fails with gcc 8.2.0
> + RSB build succeeds with gcc 7.4.0
> Notice that the build succeeds when using a native version that 
> matches the version being built cross. This is in keeping with 
> long-standing advice.

the current situation for GCC 9 is less good. I was not able to build it 
on Debian:

https://gcc.gnu.org/ml/gcc/2019-01/msg00141.html

On openSUSE it worked.

-- 
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 devel mailing list