Installing and Using GNU Tools


Table of Contents

Introduction

Welcome to Rational Rose RealTime Evaluation Edition. Rational Rose RealTime is a Unified Modeling Language (UML) development software design tool that lets developers capture and communicate their software designs using the UML. Rational Rose RealTime can be used to develop C, C++ and Java applications for a wide range of targets. A UML model compiler ensures that the design is always in-sync with the implementation. Rational Rose RealTime can generate applications for a wide range of targets including Unix and Windows operating systems, embedded Real-Time Operating Systems (RTOS), and even bare systems without an operating system. 

This C++ Evaluation Edition of Rational Rose RealTime has been configured for use with Microsoft Visual Studio 6 for Windows NT/2000/XP target platforms. If you do not have Microsoft Visual Studio 6, the Evaluation Edition will also work with Red Hat Cygwin 1.3.1 GNU tools for Microsoft Windows NT/2000/XP.  This document explains how to download and install the Cygwin tools for use with Rational Rose RealTime Evaluation Edition.

Downloading the Cygwin 1.3.1 Tools

The evaluation edition of Rational Rose RealTime is configured to work with the Cygwin 1.3.1 GNU development tools.

Installing Cygwin Tools Version 1.3.1

To install the Cygwin tools, follow these instructions:

  1. Download the setup.exe file. This is the installer for Cygwin. Run this file in place, or download first and then run it.

  1. Click Next -->.

  1. Select an appropriate option. If you have not previously installed Cygwin, select Install from Internet.

  1. Choose and appropriate root directory, for example,  C:\Cygwin. Remember this directory because you will need it later for environment variable settings. 
  2. Click Next-->.

  1. Select a location for the installer to download the files. 
  2. Click Next-->.

  1. Select an appropriate setting. Select Direct Connection unless you use a HTTP proxy for your network. 
  2. Click Next -->.

  1. Select a local site to download to. 
  2. Click Next -->.

After the download process completes, you will need to select specific packages.

  1. Opposite each package, select the corresponding items from the New column. Select  the following packages (binaries, source is optional but not necessary) as a minimum :
  1. Click Next -->.

This will take some time to download (total download is about 49.9 MB). After the download completes, the installer will install the selected packages.

When finished you should see the following display: 

  1. You can de-select these options, they are not necessary for use with Rational Rose RealTime.

  1. Click OK

Setting the Command Line Path for Cygwin

To set the command line path for Cygwin, follow these instructions:

  1. To open the Control Panel, click Start Menu > Settings > Control Panel.
  2. Double-click System
  3. Click the Advanced tab.

  1. Click Environment Variables
  2. Select Path from the list in the System variables area.

  1. Click Edit
  2. In the Variable Value box, add the following to your path system variable:

;<cygwin install path>\bin

The <cygwin install path> is the directory you selected to install the Cygwin tools (for example, C:\Cygwin) in Step 4 in the section called Installing Cygwin Tools Version 1.3.1.

  1. Click OK.
  2. Click OK on the Environment Variable dialog.
  3. Close the Control Panel.
  4. Open a Windows Command Prompt Window to test your installation as shown in the following diagram:

Compiling and Linking Rational Rose RealTime Models with Cygwin

To compile and link Rational Rose RealTime models with Cygwin:

  1. Start Rational Rose RealTime.
  2. Double-click a component in the Component View to open a Component Specification for the component you wish to build using the Cygwin tools.

It will look similar to the following diagram:

  1. Click the C++ Compilation tab.

  1. Click Select opposite the Target Configuration.
  2. Select the NT40CygwinevalT.x86-x86-cygwin-gnu-2.95.3-5 target configuration.
  3. Click OK.
  4. In the CompilationMakeType box, select GNU_Make.
  5. In the CompilationMakeCommand box, change the command to make.

  1. Click the C++ Generation tab.
  2. In the CodeGenMakeType box, select GNU_Make.
  3. In the CodeGenMakeCommand box, change the command to make.

  1. In the Component View in the Model browser, select the Cygwin_Eval_Component.
  2. Right-click and select Build > Build.

Contact Information

Thank you for taking the time to evaluate Rational Rose RealTime. For further information please contact Rational at one of the following locations.