Installing MinGW RTEMS Tools

From RTEMSWiki

Jump to: navigation, search

Installing MinGW RTEMS Tools

To install the tools you run the top level installer. All the installers are created using the GPL NSIS Installer.

RTEMS Tool Installer (rtems4.8-tools-17.exe)

This is a small installer that lets you install the specific tools set you wish to use. If you are downloading the tools this saves you bandwidth.

The tools shown below are for build-15. The current build may have moved on but the process will be the same.

The top level installer is called rtems4.8-tools-NN.exe. The 4.8 is the RTEMS version the tools are for and the NN is the build number. When a new release of tools is made the build number increases. The installer for a specific target contains the built files from a number of packages each with different version numbers. The build number is a common version number for the version numbers contained in the installer. The source code directory on the RTEMS FTP server has the specific packages and patches used to build the installer.

The top level installer will check to see of the tool installers are in the same location as it, or in the Packages directory under the install path. If an installer is found it is installed. If an installer is not found an attempt is made to download the target's installer from the RTEMS FTP site.

Running the top level installer will present to you the installer's Welcome Page.



Click Next to see the RTEMS Welcome page. This page provides links to the RTEMS website, the MinGW Tools page in the RTEMS Wiki, and the MinGW website.



Clicking Next presents you with the GNU Public License. The software provided in these tools is covered by the GNU Public License (GPL). You click accept to acknowledge this and that you can locate all the source code on the RTEMS ftp site unsed in the installers. The source code including patches can be found in the directory source below the installer's location on the RTEMS FTP server. The RTEMS 4.8 Build 15 source link is http://www.rtems.org/ftp/pub/rtems/windows/4.8/build-15/source.



Clicking Accept presents you with the Selection page. Here you can click on the Target Tools you wish to have installed. Notice the Space required level changes when you add or remove targets. Each target can be individually removed and you can run this installer at a later time to add more targets.



Clicking Next takes you to a page where you can select the Destination Folder. This is the top directory under which the tools will be installed. The default path is C:\opt\rtems-4.8.



Clicking Next takes you to the last page where you can choose the same for the Start Menu entry for the RTEMS. Clicking Install will start the install process.



The target installers are installed in the order in the selection box. If an installer is not found locally it is downloaded from the RTEMS FTP site. You will be presented with a screen like this one for the i386 target. A target installer will be downloaded and installed before proceeding to the next target installer. If the download fails the installation will proceed ignoring the error.



The first target to be installed is Autotools. It is recommended you install this target. This installer is different from the others as you need to have MinGW, MSYS, and MSYS DTK installed and autoconf and automake are built on your machine then installed. You will see a Windows Command window appear twice once for autoconf and then for automake as they are built. You do not need to do anything as this windows will automatically close, which may take more than 10 minutes.



The installing of files will provide you with the detail of what is being installed.



When the installation has finished you are will see the last page.



You cannot run the install again while it is already running. If you do a message box will appear informing you.


Image:Rtems-in-ar.jpg


The downloaded target installers are placed in the Packages directory under the installation directory. You cannot run the target installers directly. They must be run from the top level installer. If you try a message box will appear telling you.


Image:Rtems-in-nn.jpg


Personal tools