Linker Dialog

The code generation process checks the setting of the selected target. If the selected CPU doesn't match a valid setting of the linker for the current CodeWarrior target, the code generation process displays the following dialog:

 

Figure 1 - Linker Dialog

Following options are available:

  • Leave the current setting - generate files to the current selected target without a change of the linker
  • Second option automatically sets the linker setting according to the selected CPU, including linker settings
  • Create new target - creates a new target and sets the linker and linker settings according to the selected CPU. Generated files will be added into the new target. You can enter a name of the target. Settings of this new target (i.e. entry point, libraries, access paths, target's file mappings etc.) has to be configured manually by the user to configure the target to be built properly.

Click on the "OK" button to confirm the selection.

The "Targets" can be set for the project files in the CodeWarrior project window. To set the Target options, double click on the name of the Target listed in the window. You can also change the setting using the command {CurrentBuildTargetName} Settings (ALT+F7) in the Edit menu in the CodeWarrior main panel. The following picture shows the "Targets" TAB in the CodeWarrior project window:

 

Figure 2 - Targets List in the CodeWarrior

 

 

[top of page]