User manual

Your STVD graphical environment UM0036
74/385 Doc ID 7705 Rev 11
Note: Metrowerks We recommend that users working with the Hiware format migrate their
workspaces to STVD 4.0.1. Once you have successfully done this, we recommend
switching to the ELF/DWARF 2.0 format to build your application. This gives you access to a
greater range of options and will allow you to use both the Auto PRM file generation
option, or your previous PRM file.
If you choose to use the previous PRM file, note that it must correspond to the syntax used
with the ELF/DWARF 2.0 format, notably the ELF syntax uses SECTION in place of
SEGMENT. Also ensure that the variables for the start07 routine are placed in a No.Init
section.
Once you have made the necessary entries and confirmed the command line options, click
on OK to apply the settings and exit the Project Settings window.
You have now migrated your project to STVD 4.0.1. You have access to the full range of
supported options and features for your toolset and you can now build your application using
the same build options used to generate previous versions of your application.
STEP 7: In the Linker tab, confirm the
command line options in the gray
Command Line window at the bottom
of the tab (all compilers
).
For details on the available options for
your toolset refer to Section 4.5:
Configuring project settings on page 84.
Cosmic users
can specify additional Object Library Modules and Library
paths to include during linking. Select General in the Category list box
and enter the pathnames in the provided fields.
Cosmic users
can choose to generate an automatic link script (.lkf) file
for linking, or to use an existing .lkf file. Select Linker Input in the
Category list box. To use an existing .lkf file, uncheck the Auto
checkbox, and enter the name of the file to use in the Script LKF
Filename field. For more information about automatic script link
generation, refer to Section 4.7.3: Cosmic C linker tab on page 110.
Metrowerks users
can specify additional Object Library Modules and
Library paths to include during linking. Select General in the Category
list box and enter the pathnames in the provided fields.
Metrowerks users
can choose to generate an automatic parameter
(.prm) file for linking, or to use an existing .prm file. Select Linker PRM
File in the Category list box. To use an existing .prm file, uncheck the
Auto checkbox, and enter the name of the file to use in the Script PRM
Filename field. For more information about automatic parameter file
generation, refer to Section 4.9.3: Metrowerks linker tab on page 148.
ST Assembler Linker users
can specify additional Library paths to include
during linking by entering the pathname in the provided field.
Table 28. Migration steps 6 and 7 (continued)
Step Related information