= RTEMS Development Hosts = [[TOC(TBR/UserManual/RTEMS_Development_Hosts, depth=2)]] Most RTEMS developers use the GNU Development Tools from the [http://www.gnu.org Free Software Foundation ]including [http://gcc.gnu.org GNU Compiler Collection (GCC)], [http://sourceware.org/binutils/ GNU Binary Utilities (binutils)], [http://sourceware.org/gdb/ GNU Debugger (gdb)], [http://directory.fsf.org/autoconf.html Autoconf], and [http://sourceware.org/automake/ 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 [wiki:TBR/User/JoelSherrill JoelSherrill]. = GNU/Linux RPM Based Distributions = The RTEMS Project maintains an [wiki:TBR/Website/APT/Yum_Repository 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 [wiki:TBR/Website/APT/Yum_Repository 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 [http://www.rtems.org/ftp/pub/rtems/linux/ 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 [http://www.rtems.com/wiki/index.php/Quick_Start 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 [wiki:TBR/UserManual/MinGW_Tools_for_Windows Windows Installers] page. * Supports Windows 2000 and Windows XP with [http://www.mingw.org/ MinGW] built tools. The tools are available as [wiki:TBR/UserManual/MinGW_Tools_for_Windows Windows Installers]. * ''[wiki:Developer/VirtualMachines/VMWareSetup MinGW:Grub2:VMWare Development Environment Setup]'' shows how to boot with Grub2 and simulate with VMWare, and a further example of how to use such host environment to develop applications involving peripherals is detailed in ''[wiki:Developer/Simulators/VMWare Simulate Serial Communication Application]''. And information about how serial port is utilized for remote debugging can be found at [wiki:Developer/Eclipse/Plugin RTEMS Eclipse Plug-in]. In the past, the RTEMS Project has provided binaries for [http://www.cygwin.com/ Cygwin]. There is nothing wrong with Cygwin, there are just so many hours in the day. If this interests you [http://www.rtems.com/support.html sponsor Cygwin support] and/or volunteer to help. = The FreeBSD Operating System = See [wiki:TBR/Delete/FreeBSD_Ports 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. = =Other Environments== It is recommended that you build from source.