User-Declared Macros; Ldf Macros And Command-Line Interaction - Analog Devices VisualDSP++ 3.5 Manual

Linker and utilities manual for 16-bit processors
Hide thumbs Also See for VisualDSP++ 3.5:
Table of Contents

Advertisement

LDF Macros
$ADI_DSP
This macro expands into the path of the VisualDSP++ installation
directory. Use this macro to control how the linker searches for
files.

User-Declared Macros

The linker supports user-declared macros for file lists. The following syn-
tax declares
$macroname
$macroname = file1, file2, file3, ...
After
$macroname
when
$macroname
ration with a semicolon. The linker processes the files in the listed order.

LDF Macros and Command-Line Interaction

The linker receives commands through a command-line interface, regard-
less of whether the linker runs automatically from the VisualDSP++
IDDE or explicitly from a command window. Many linker operations,
such as input and output, are controlled through the command-line
entries. Use LDF macros to apply command-line inputs within LDF.
Base your decision on whether to use command-line inputs in the
or to control the linker with LDF code on the following considerations.
• An .
LDF
generic LDF that can be used in multiple projects. Because the
command line can specify only one output, an .
on command-line input is best suited for single-processor systems.
• An .
LDF
more specific LDF that can control complex linker features.
3-22
as a comma-delimited list of files.
has been declared, the linker substitutes the file list
appears in the
.LDF
file that uses command-line inputs produces a more
file that does not use command-line inputs produces a
VisualDSP++ 3.5 Linker and Utilities Manual
;
file. Terminate a
$macroname
LDF
for 16-Bit Processors
decla-
file
.LDF
file that relies

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VisualDSP++ 3.5

Table of Contents