CC(I) 3/15/72 CC(I)
cc - C compiler
cc [ -c ] [ -p ] file ...
Cc is the UNIX C compiler. It accepts three types of
Arguments whose names end with `.c' are assumed to be C
source programs; they are compiled, and the object program
is left on the file whose name is that of the source with
`.o' substituted for `.c'.
Other arguments (except for
-c) are assumed to be either
loader flag arguments, or C-compatible object programs,
typically produced by an earlier cc run, or perhaps
libraries of C-compatible routines. These programs,
together with the results of any compilations specified, are
loaded (in the order given) to produce an executable program
with name a.out.
The -c argument suppresses the loading phase, as does any
syntax error in any of the routines being compiled.
If the -p flag is used, only the macro prepass is run on all
files whose name ends in .c. The expanded source is left on
the file whose name is that of the source with .i
substituted for .c.
file.c input file
file.o object file
a.out loaded output
/lib/crt0.o runtime startoff
/lib/libc.a builtin functions, etc.
/lib/liba.a system library
`C reference manual', cdb(I), ld(I) for other flag