About the Shell Program
2-2
2.1 About the Shell Program
The compiler shell program (dspcl) lets you compile, assemble, and optionally
link in one step. The shell runs one or more source modules through the
following:
-
The
compiler
, which includes the parser, optimizer, and code generator,
accepts C source code and produces ’C2x, ’C2xx, ’C5x, assembly lan-
guage source code.
-
The
assembler
generates a COFF object file.
-
The
linker
links your files to create an executable object file. Use of the
linker is optional at this point. You can compile and assemble various files
with the shell and link them later. See Chapter 4,
Linking C Code,
for
information about linking the files in a separate step.
The shell compiles and assembles files by default. If you use the
−
z option,
dspcl will compile, assemble, and link your files. Figure 2
paths the shell follows as it both uses and omits the linker.
Summary of Contents for TMS320C2x
Page 8: ...viii...
Page 69: ...2 47 C Compiler Description...
Page 159: ...6 36...
Page 226: ...8 6...