Installing and Using GNU Tools
Table of Contents
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.
The evaluation edition of Rational Rose RealTime is configured to work with
the Cygwin 1.3.1 GNU development tools.
- Homepage for Cygwin
- Download Cygwin
1.3.1 (the version required for this evaluation)
- Documentation - we recommend
that you review the Cygwin documentation.
To install the Cygwin tools, follow these instructions:
- Download the setup.exe file. This is the installer for Cygwin. Run
this file in place, or download first and then run it.

- Click Next -->.

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

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

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

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

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

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

- 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 :
- Devel -> binutils
- Devel -> gcc
- Devel -> make
- Devel -> mingw-runtime
- 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:

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

- Click OK.
To set the command line path for Cygwin, follow these instructions:
- To open the Control Panel, click Start Menu > Settings >
Control Panel.
- Double-click System.
- Click the Advanced tab.

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

- Click Edit.
- 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.

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

To compile and link Rational Rose RealTime models with Cygwin:
- Start Rational Rose RealTime.
- 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:

- Click the C++ Compilation tab.

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

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

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

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