![Texas Instruments TMS320C2x User Manual Download Page 161](http://html1.mh-extra.com/html/texas-instruments/tms320c2x/tms320c2x_user-manual_1097073161.webp)
Libraries
7-2
7.1 Libraries
The following libraries are included with the TMS320C2x/C2xx/C5x C com-
piler:
-
rts25.lib, rts2xx.lib and rts50.lib—run-time-support object libraries. The
libraries do not contain functions involving signals and locale issues. They
do contain the following:
J
ANSI C standard library
J
System startup routine, _c_int00
J
Functions and macros that allow C to access specific instructions
-
rts.src—run-time-support source library. The run-time-support object
libraries are built from the C and assembly source contained in the rts.src
library.
7.1.1 Linking Code With the Object Library
When you link your program, you must specify the object library as one of the
linker input files so that references to the I/O and run-time-support functions
can be resolved.
You should specify libraries
last
on the linker command line because the linker
searches a library for unresolved references when it encounters the library on
the command line. You can also use the
−
x linker option to force repeated
searches of each library until the linker can resolve no more references.
When a library is linked, the linker includes only those library members re-
quired to resolve undefined references. For more information about linking,
see the
TMS320C1x/C2x/C2xx/C5x Assembly Language Tools User’s Guide
.
There is one header file, values.h, in rts.src. It is not a standard header, but
allows you to customize the functions. It contains definitions necessary for re-
compiling the trigonometric and transcendental math functions.
Summary of Contents for TMS320C2x
Page 8: ...viii...
Page 69: ...2 47 C Compiler Description...
Page 159: ...6 36...
Page 226: ...8 6...