Invoking the Library-Build Utility
8.1 Invoking the Library-Build Utility
8-2
The dspmk utility runs the shell program on each source file in the archive to
compile and/or assemble it. Then, the utility collects all the object files into the
object library. All tools must be placed in your PATH. The utility ignores and dis-
ables the environment variables TMP, C_OPTION, and C_DIR.
The syntax for invoking the library −build utility is:
dspmk [options] src_arch1 [−lobj.lib1] [src_arch2 [−lobj.lib2] ] ...
dspmk
is the command that invokes the utility.
options
affect how the library −build utility treats your files. Options can ap-
pear anywhere on the command line or in a linker command file.
(Options are discussed in section 8.2 and 8.3.)
src_arch
is the name of a source archive file. For each source archive
named, dspmk builds an object library according to the runtime
model specified by the command-line options.
−lobj.lib
is the optional object library name. If you do not specify a name
for the library, dspmk uses the name of the source archive and
appends a .lib suffix. For each source archive file specified, a
corresponding object library file is created. You cannot build an
object library from multiple source archive files.
Need help?
Do you have a question about the TMS320C2x and is the answer not in the manual?