Include Files; Output Files - Intel i960 User Manual

Processor compiler
Hide thumbs Also See for i960:
Table of Contents

Advertisement

2
gcc960 Compiler Driver
The driver passes any other filename to the linker. The linker then
determines whether the file is an object file, library, or configuration file.
Input files not needed for processing are not processed. For example, if
you specify an assembly-language (
) file and also specify the
filename .s
(Assembly) compile into assembly code option, gcc960 takes no action
S
on the assembly-language file.

Include Files

The gcc960 command line allows insertion of text from include files. The
preprocessor directive causes text insertion.
#include
The I, I- and I. options affect the directories that are searched for the file
specified in the #include directive. These options are described in detail in
the Option Arguments and Syntax section. In the absence of the
option,
I
gcc960 searches the current directory for #include "file" and
directory for #include <file>.
G960BASE/include

Output Files

Specifying the options
,
, or
causes the compilation system to
-E
-S
-c
produce output of the last phase that completes for each primary input file.
Output can be preprocessed source, an assembly-language file, or an
unlinked object file. If no errors occur during processing, the output files
created by these options are usable as input to a future gcc960 invocation.
Table 2-2 lists the compilation phases and their inputs and outputs.
Specifying the
option generates a listing. gcc960 produces a
clist
separate list file for each primary C source file. The list file is named by
replacing the .c or .I extension with .L.
Specifying the
option causes the preprocessor to output rules suitable
-M
for a make tool describing the dependencies of each source file. The
and
options are described in detail in the Option Arguments
clist
-M
and Syntax section.
2-9

Advertisement

Table of Contents
loading

Table of Contents