Linking Dsp Library Functions; Working With Library Source Code - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

Linking DSP Library Functions

When your C/C++ code calls a DSP run-time library function, the call
creates a reference that the linker resolves when linking your program.
This requires the linker to be directed to link with the DSP run-time
library,
libdsp.dlb
the VisualDSP++ installation directory. The default Linker Description
File (LDF) will do this automatically as it specifies that
included in every link. If an application uses a customized
either add
libdsp.dlb
compiler's
-ldsp
link line.

Working with Library Source Code

The source code for the functions in the C and DSP run-time libraries is
provided with your VisualDSP++ software. By default, the installation
program copies the source code to a subdirectory of the directory where
the run-time libraries are kept, named
tains the source for the C run-time library, the DSP run-time library, the
ETSI functions, and for the I/O run-time library, as well as the source for
the main program start-up functions. If you do not intend to modify any
of the run-time library functions, you can delete this directory and its con-
tents to conserve disk space.
The source code is provided so you can customize specific functions for
your own needs. Each function is kept in a separate file. The file name is
the name of the function with the appropriate extension for C or assem-
bler source. To modify these files, you need proficiency in ADSP-219x
DSP assembly language and an understanding of the run-time environ-
ment, as explained
page
1-169. Before you make any modifications to the source code, copy
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
, in the
219x\lib
to the customized
switch to specify that
in"C/C++ and Assembly Language Interface" on
DSP Run-Time Library
directory, which is a subdirectory of
libdsp.dlb
file, or alternatively use the
.LDF
is to be added to the
libdsp.dlb
. The directory con-
219x\lib\src
will be
file, then
.LDF
4-3

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