EasyManua.ls Logo

Texas Instruments TMS34010

Texas Instruments TMS34010
181 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section
3
C
Compiler
Operation
Figure 3-1 illustrates the three-step process
of
compiling a C program.
Figure
3-1.
Compiling
a C
Program
Step
1:
The
input
for
the
preprocessor
is
a C source file (as described in
Kernighan and Ritchie). The preprocessor produces a modified version
of
the
source
file.
Step
2: The
input
for the
parser
is
the modified source file produced
by
the
preprocessor. The parser produces
an
intermediate file.
Step
3: The
input
for
the
code
generator
is
the intermediate file produced
by the parser. The code generator produces
an
assembly language source file.
After you compile a program, you must assemble and
link
it
with
the
TMS34010
assembler and linker.
Topics in this section include:
Section
Page
3.1
Preprocessor (gspcpp) Description ........................................................
3-2
3.2 Parser (gspcc) Description .......................................................................
3-6
3.3 Code Generator (gspcg) Description ......................................................
3-8
3.4 Compiling and Assembling a Program ................................................. 3-11
3.5 Linking a
C Program ...............................................................................
3-13
3.6 Archiving a C Program ............................................................................
3-16
3-1

Table of Contents

Other manuals for Texas Instruments TMS34010

Related product manuals