Version 16 (modified by Vattam, on Mar 19, 2009 at 7:15:37 PM) (diff)

/* GNU/Linux Debian Based Distributions */

RTEMS Development Hosts

Most RTEMS developers use the GNU Development Tools from the Free Software Foundation including GNU Compiler Collection (GCC), GNU Binary Utilities (binutils), GNU Debugger (gdb), Autoconf, and Automake. These tools support many operating systems and are used by the RTEMS Project in a cross development setup. The RTEMS project recommends and encourages Linux as a development platform for RTEMS.

The RTEMS Project provides prebuilt tools for a variety of operating systems. Please refer to the appropriate section below for information on your particular operating system.

If you are interested in seeing support for another operating system, please contact JoelSherrill.

GNU/Linux RPM Based Distributions

The RTEMS Project maintains an APT/Yum Repository which contains prebuilt RPMs for the entire RTEMS Development Environment. There is a separate repository for RTEMS Release Series from 4.6 on.

Visit GNU/Linux RPM APT/Yum Repository for more details.

GNU/Linux Debian Based Distributions

There was a GSoC 2008 project to provide Debian packaging. So packaging is available but the student duplicated large numbers of files which would be best generated from a template by a script. He is supposed to be addressing this deficiency and it is hoped that a Debian repository will be established at OAR after this is done.

If you are interested in this, please consider sponsoring an RTEMS developer to move it forward. This requires hands-on system administrator and build farm setup.

For the time being, the following procedure can be used. (Crude, but works)

  • Download the rpms from here by selecting the relevant RTEMS version, the preferred rpm distro, the distro version and finally the appropriate architecture.
    • You will need to download all those files that pertain to the architecture you want to build RTEMS for. For instance, if you are building RTEMS for sparc then download all the files that contain the word sparc in the filename.
    • Also download all the common files - these are the rpms of the tools needed to build RTEMS. These are apt-conf, autoconf, automake, binutils, gcc, gdb, newlib
  • Now that the files have been downloaded we need to convert the rpms to debs.
    • Run sudo apt-get install alien to install alien. Alien is a program to convert rpms to debs (to convert from one packaging form to another to be precise).
    • cd into the directory containing the rpm files and run alien -d *.rpm - the -d option specifies that the output file must be .deb. That must convert all rpms to debs
    • Now to install the debs, we run dpkg -i *.deb.
    • Now all the build tools are installed and the procedure in the Quick Start page may be followed to build.


The RTEMS Project provides executable installers for Windows. Currently Windows Vista and 64 bit Windows servers have not been tested. You can find information about the installer on the Windows Installers page.

In the past, the RTEMS Project has provided binaries for Cygwin. There is nothing wrong with Cygwin, there are just so many hours in the day. If this interests you sponsor Cygwin support and/or volunteer to help.

The FreeBSD Operating System

See FreeBSD Ports Collection?.


A number of users report success building their own local RTEMS tools from source.


Building the tools from source is the best option currently.

=Other Environments=

It is recommended that you build from source.