Controlling the Linking Process
4-14
Finally, the command file lists all the object libraries that the linker must search.
(The libraries are specified with the −l linker option.) Because this is a C pro-
gram, the run-time-support library (rts25.lib, rts2xx.lib, or rts50.lib) must be
included. This program uses several routines from an archive library called
matrix.lib, so it is also named as linker input. Note that only the library members
that resolve undefined references are linked.
To link the program, enter:
dsplnk link.cmd
The MEMORY directive and possibly the SECTIONS directive might require
modification to work with your system. Refer to the linker chapter of the
TMS320C1x/C2x/C2xx/C5x Assembly Language Tools User's Guide for infor-
mation on these directives.
Need help?
Do you have a question about the TMS320C2x and is the answer not in the manual?
Questions and answers