It accepts several types of arguments:
Arguments whose names end with `.c' are taken to be
C source programs; they are compiled, and
each object program is left on the file
whose name is that of the source with `.o' substituted
The `.o' file is normally deleted, however, if a single
C program is compiled and loaded all at one go.
arguments whose names end with `.s' are taken to be assembly source programs
and are assembled, producing a `.o' file.
The following options are interpreted by
Suppress the loading phase of the compilation, and force
an object file to be produced even if only one program is compiled.
Have the compiler produce additional symbol table information
Suppress warning diagnostics.
Create load-on-demand format output (an
this is important to specify when loading certain very large programs.
Arrange for the compiler to produce code
which counts the number of times each routine is called;
also, if loading takes place, replace the standard startup
routine by one which automatically calls
at the start and arranges to write out a
file at normal termination of execution of the object program.
An execution profile can then be generated by
Compile the named C programs, and leave the
assembler-language output on corresponding files suffixed `.s'.
Run only the macro preprocessor
on the named C programs, and send the result to the
Name the final output file
If this option is used the file `a.out' will be left undisturbed.
If no definition is given, the name is defined as "1".
Remove any initial definition of
whose names do not begin with `/' are always
sought first in the directory
then in directories named in
then in directories on a standard list.
Find substitute compiler passes in the files named
with the suffixes cpp, ccom and c2.
is empty, use a standard backup version.
Find only the designated compiler passes in the
files whose names are constructed by a
is taken to be `/usr/c/'.
to be either loader option arguments, or C-compatible
object programs, typically produced by an earlier
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
/usr/c/occom backup compiler
/usr/c/ocpp backup preprocessor
/lib/c2 optional optimizer
/lib/crt0.o runtime startoff
/lib/mcrt0.o startoff for profiling
/lib/lib[ac].a standard libraries, see (3)
/usr/include standard directory for `#include' files
B. W. Kernighan and D. M. Ritchie,
.I The C Programming Language,
Programming in C\(ema tutorial
monitor(3), prof(1), adb(1), ld(1), sdb(1)
The diagnostics produced by C itself are intended to be
Occasional messages may be produced by the assembler