Fortran Compiler for RTEMS?

Sebastian Huber sebastian.huber at
Thu Jun 6 11:19:21 UTC 2013

On 06/06/2013 12:15 PM, David.Seelbinder at wrote:
> I am interested in compiling a project with mixed C and Fortran code for RTEMS
> for the Leon platform. From the mailing list archives I understand that it is
> in principle possible to have Fortran support. Did someone by chance recently
> compile a tool chain including gfortran 4.4 or higher?

I would use a more recent GCC, e.g. 4.8 since there was some Fortran 
development in GCC recently.

I just tried the GCC 4.8.1 for ARM and it worked out of the box.

> In general I would appreciate directions to information about the process to
> compile a tool chain including Fortran. Is it possible for someone with only
> basic knowledge in RTEMS and operating systems to do that in a reasonable time?

You can build the GCC in the normal way, just add "fortran" to the configured 
languages, e.g. "--enable-languages=c,c++,fortran".

To build the RTEMS tool chain, you can use the RTEMS source builder:

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
PGP     : Public key available on request.

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

More information about the users mailing list