Linker Command-Line Reference
Linker Command-Line Reference
This section provides reference information, including:
•
"Linker Command-Line Syntax" on page 2-30
•
"Linker Command-Line Switches" on page 2-34
When you use the linker via the VisualDSP++ IDDE, the settings
on the Link tab of the Project Options dialog box correspond
to linker command-line switches. VisualDSP++ calls the linker
with these switches when linking your code. For more information,
refer to the VisualDSP++ 3.5 User's Manual for 16-Bit Processors
and VisualDSP++ online Help.
Linker Command-Line Syntax
Run the linker by using one of the following normalized formats of the
linker command line.
linker -proc processor -switch [-switch ...] object [object ...]
linker -T target.ldf
The linker command requires
for the link to proceed. If the command line does not include
-proc processor
tain a
-Darchitecture
The command line must have at least one object (an object file name).
Other switches are optional, and some commands are mutually exclusive.
Example
The following is an example linker command.
linker -proc ADSP-BF535 p0.doj -T target.ldf -t -o program.dxe
2-30
-s
witch [-switch ...] object [object ...]
-proc processor
, the
file following the
.LDF
command.
VisualDSP++ 3.5 Linker and Utilities Manual
or a -
T <ldf name>
switch must con-
-T
for 16-Bit Processors
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?