User`s guide
14 Real-Time Workshop Ada Coder
14-8
Alternatively, you can specify the settings on the Real-Time Workshop page
manually by following these steps:
1 Select RTW Options under the Tools menu. This opens the Real-Time
Workshop page of the
Simulation Parameters dialog box.
2 Specify rt_ada_sim.tlc as the System target file.
3 Specify gnat_sim.tmf as the Template makefile.
4 Specify make_rtw -ada as the Make command.
This picture shows the Real-Time Workshop page with the correct settings.
Figure 14-3: The Real-Time Workshop Page of the Simulation Parameters
Dialog Box
In addition, you can use the make command to pass compiler switches to the
code compilation phase. For example, if you want to compile with debugging
symbols, add a
-g after the -ada switch in the Make command field (there
must be a space between each switch). This switch is applied on a model basis;
for more permanent changes, see “Configuring the Template Makefile” on page
14-12.
Generating Ada Code
To generate Ada code and build an Ada executable, press Build on the
Real-Time Workshop page or select
RTW Build under the Tools menu.