RTEMS Development Hosts

From RTEMSWiki
Jump to: navigation, search

Contents

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 your OS is not available then you likely need to build from source.

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.

Windows

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.

MacOS X

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

NetBSD/OpenBSD

Building the tools from source is the best option currently.

Solaris 11

Solaris 11 provides quite modern development environment. For RTEMS you will need to install just autoconf/automake as those are too old versions provided by Solaris. Otherwise Solaris provided GCC compiler, GMP, MPFR and MPC libraries are well up to the task of compiling RTEMS toolchain. The GMP/MPFR libraries header files are installed in different location than simple /usr/include so you will need to add --with-gmp-include=/usr/include/gmp/ --with-mpfr-include=/usr/include/mpfr to GCC configure command line.

Other Environments

It is recommended that you build from source.

Personal tools
Namespaces

Variants
Actions
Navigation
Gedare's Special Help
Toolbox