Invoking the Linker as an Individual Program
4-3
Linking C Code
When you specify a library as linker input, the linker includes and links only
those library members that resolve undefined references. For example, you
can link a C program consisting of modules prog1, prog2, and prog3 (the
output file is named prog.out), enter:
dsplnk −c prog1 prog2 prog3 −o prog.out −l rts25.lib
The linker uses a default allocation algorithm to allocate your program into
memory. You can use the MEMORY and SECTIONS directives in the linker
command file to customize the allocation process. For more information, see
the
TMS320C2x/C2x/C2xx/C5x Assembly Language Tools User’s Guide
.
Summary of Contents for TMS320C2x
Page 8: ...viii...
Page 69: ...2 47 C Compiler Description...
Page 159: ...6 36...
Page 226: ...8 6...