![Texas Instruments TMS320C2x User Manual Download Page 92](http://html1.mh-extra.com/html/texas-instruments/tms320c2x/tms320c2x_user-manual_1097073092.webp)
4-1
LinkingCCode
The C compiler and assembly language tools provide two methods for linking
your programs:
-
You can compile individual modules and link them together. This method
is especially useful when you have multiple source files.
-
You can compile and link in one step by using dspcl. This method is useful
when you have a single source module.
This chapter describes how to invoke the linker with each method. It also
discusses special requirements of linking C code, including the run-time-sup-
port libraries, specifying the type of initialization, and allocating the program
into memory. For a complete description of the linker, see the
TMS320C1x/C2x/C2xx/C5x Assembly Language Tools User’s Guide
.
Topic
Page
Invoking the Linker as an Individual Program
. . . . . . . . . . . . . . . . . . .
Invoking the Linker With the Compiler Shell (
−
z Option)
Disabling the Linker (
−
c Shell Option)
. . . . . . . . . . . . . . . . . . . . . . . . . .
Linker Options
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Controlling the Linking Process
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4
Summary of Contents for TMS320C2x
Page 8: ...viii...
Page 69: ...2 47 C Compiler Description...
Page 159: ...6 36...
Page 226: ...8 6...