IBM
Contents Index Previous Next



Interactive Mode


You can use the Targeting Expert interactive mode to achieve different targets to:

Although most of the steps in targeting are supported in the Targeting Work Flow you sometimes need access to other functionality, for example:

Compiler Definition for Compilation

Note:

All the modifications that can be done here are only valid for the current system, i.e. all the information will be stored into the system's target directory.

Add

The following is applicable only if using the Cmicro SDL to C compiler:

Select Add a new Compiler from the Edit menu. The Add compiler dialog is displayed.

Figure 516 : Add compiler dialog

When you click Add the compiler is added to the c*_conf.def file. Please see Configuration Files for information about the file's syntax and duty.

Edit

For each compiler that is supported by a target library there is a specific section in

Whenever there is a compiler flag defined, not known by the library, a file called user_cc.h (for Cadvanced and Cmicro) or comphdef.h (for Cextreme) will be included which has to contain the compiler specific settings.

The dialogs shown below are input masks that request all the needed information to generate such a file. Select Edit Compiler Section from the Edit Menu.

Cadvanced

Figure 517 : Edit compiler section dialog (Cadvanced)

For Cadvanced the following is requested:

Cmicro

Figure 518 : Edit compiler section dialog (Cmicro)

For Cmicro the following is requested:

Note:

All the commands you enter will be copied in to user_cc.h. If there is more than one line of source code, each line must end with a '\' because the compiler's preprocessor depends on it.

Remove

The following is applicable only if using the Cmicro SDL to C compiler:

To remove a compiler from the private c*_conf.def file, select Remove an Unused Compiler from the Edit Menu

Figure 519 : Remove compiler dialog

Note:

The file user_cc.h will not be affected by removing a compiler from the c*_conf.def file.

Communications Link Definition for Compilation

The following is only applicable if using the Cmicro SDL to C compiler.

Note:

All the modifications that can be done here are only valid for the current system, i.e. all the information will be stored into the system's target directory.

Add

To allow the selection of a new communications link in the Targeting Expert user interface the appropriate macros should be given in the Targeting Expert.

Select Add a User Defined Communications Link from the Edit Menu.

Figure 520 : Add a user defined communications link

When you click Add the communications link is added to the c*_conf.def file. Please see Configuration Files for information about the file's syntax and duty.

Note:

The communications link source code has to be set up by the user.

Value List

Figure 521 : Add a flag taking a list of values

When you click Add this value list is added to the communications link you entered in the dialog in Figure 520.

Text Value Flag

Figure 522 : Add a flag taking text

When you click Add this value list is added to the communications link you entered in the dialog shown in Figure 520.

Remove

To remove a communications link from the private c_conf.def file, select Remove a communications link from the Edit Menu.

Figure 523 : Remove a communications link

Handling of Settings

General

The integration tool bar on the main window offers four buttons to handle the settings, i.e. the way settings are stored and where they are taken from can be influenced.

Figure 524 : Integration tool bar in the main window

Note:

The settings addressed in this section are only compiler, linker and make settings. The configuration of the SDL to C compiler library is not touched!

After selecting pre-defined integration settings the Targeting Expert automatically creates a file called <integration_name>.uis in the according component directory. (Please see Target Sub-Directory Structure).

For some reasons it is sometimes useful to modify this way of saving the user done settings. E.g.

  • To be able to "play" with settings it can be useful to switch to another file while the default one is not touched. After playing it is easy to switch back to the old settings by selecting the old file again.

  • After doing an adaptation for a specific target the manually modified settings can be exported as new pre-defined integration settings. Please see Export.

  • Estimated there are several components inside of a node and each of them should be build the same way, then it is probably useful to do the adaptation of settings once on node level and to import these settings for each component.
    This also means that the compiler, linker and make settings can no longer be modified on component level.

  • Estimated there are several components in different nodes that should be build the same way, then it is possible to import the setting from the application.
    This also means that the compiler, linker and make settings can not be modified any longer on component level.

Estimated there is an integration 'A' and there are modified settings on this integration on application, node and component level. Then there are three different files A.uis saved in the correspondent application, node and component directories.
Figure 525 shows where the settings can be done and where they are taken from when the component is selected.

Figure 525 : handling the user settings

Export

The settings of the currently selected integration will be exported as new Pre-defined Integration Settings with the name given in the first dialog that pops up.

Figure 526

Note:

All the integrations must have unique names, i.e. it is not possible to export settings with an already known name.

In the second dialog a list of template files which have to be copied into the target directory can be specified. As default, the list of files from the "parent" settings will be given. Modify the list to your needs. Directly after exporting the settings they can be used for further configurations.

Note:

The sections Configuration Settings to Be Set and Configuration Settings to Be Reset are not exported.

Customization

The Targeting Expert interactive mode can be customized. After selecting the Customize entry in the Tools Menu the dialog shown in Figure 527 pops up.

Figure 527 : Customize dialog

Text Editor

The text editor which should be opened to edit or view text files can be selected here. The list of supported editors depends on the platform the Targeting Expert is running on (Windows/UNIX). It can be modified or extended in the file sdttaex.par. Please see Parameter File sdttaex.par.

Advanced Mode

The advanced mode allows you to:

More Configurations

Caution!

The pre-defined integrations distributed are tested only with the given library configuration. It is not guaranteed that it will work for all kinds of modifications!


http://www.ibm.com/rational
Contents Index Previous Next