This section covers the more advanced information about using Test RealTime with IBM Rational Rose RealTime.
When using a compiler that produces code for a non-native platform, you must set up two Target Deployments Ports for both the native and the target platform.
To use a cross compiler:
Locate the corresponding Target Deployment Ports. These TDPs must contain an attolcc Instrumentation Launcher binary.
In the TDP.txt file located in the Rose RealTime installation directory, write a line for each Target Deployment Ports based on the following syntax:
<rosert_targetRTS_name> , <testrt_tdp_name> [, [<path>], [$], [/|\]]
where:
<rosert_targetRTS_name> is the name of the Rose RealTime TDP.
<testrt_tdp name> is the name of the Test RealTime TDP.
<path> is the location of the CmdCommand.o file in the Rose RealTime targetRTS
The $ option indicates to use environment variable names instead of their values.
Use the / or \ option to specify the use of the '/' or '\'directory separator if these are not the platform default.
For example:
NT40T.x86-VisualC++-6.0 , cvisual6 , C:/temp ,$ ,/
If you chose not to use the Rose RealTime environment for compilation and link, but instead to use a makefile to perform these tasks, you can use the Rational Test RealTime Instrumentation Launcher tools as described below:
To compile with a makefile:
Modify your compiler command as follows:
CC = attolcc <options> -- cc
LD = attolcc <options> -- ld (if necessary)
attolcc is the Instrumentation Launcher which must be available in the Target Deployment Port, in the /cmd directory. This directory must be in your PATH.
<options> are the instrumentation options. See the Reference Manual for more information about the Instrumentation Launcher command line.
The instrumented application produces the atlout.spt file at the end of the execution.
To display the report
Run the following command:
studio *.fdc *.tsf atlout.spt atlout.tio atlout.tdf atlout.tqf atlout.tpf
This launches the Test RealTime graphical user interface. The .fdc and .tsf files are static files generated by the instrumentation. The four last files are created by the product to store the traces for each component.
Related Topics
Working with IBM Rational Rose RealTime | Troubleshooting Rose RealTime Integration