CC(1)
-P
Run only the macro preprocessor on the named C, FORTRAN, and
Pascal files, and place the results on file.i.
-S
Compile the named files, leaving the C assembly language output
in files suffixed .s, and the FORTRAN and Pascal binaries in files
suffixed .j.
-U name
Remove any initial definition of name. (There should be no blanks
between U and the name to be undefined).
-Zf
Cause instructions for the Sky floating point processor to be gen-
erated. When this switch is used. the Sky math library -lmsky will
be substituted for the standard math library -lm if it is specified.
Use of this switch on systems which do NOT have the floating
point unit installed will cause a run time abort.
-Zg
Load the program with the special files and libraries necessary for
IRIS graphics programs. When this switch is used, the graphics
library -lg and the math library -lm (or -lmsky if the -Zf flag has also
been specified) is given by default. Special files must be loaded for
using graphics with each source language. Hence, cc must be able
to determine the combination of languages involved in the link
step. If the compilation line specified f77, a FORTRAN source file
(with the extension .f) OR the switch -ZF is given, cc assumes that
FORTRAN routines are present. In this case, the program is also
loaded with the FORTRAN graphics interface library -lfgl and the
FORTRAN object file containing the block data initialization of the
common areas DEVICE and GL (/usr/bin/fgldat.j). If the compilation
line specified pc, a Pascal source file (with the extension .p) OR the
switch -ZP is given, cc assumes that Pascal routines are present.
The program is loaded with the special Pascal jump table
(/usr/lib/pjmptbl.o), and ld is told to make only eight characters signi-
ficant in function names during calls to the graphics library.
-Zi filename
Use the file named filename as the run time startup, rather than the
standard C run time startup. This may be useful for generating
standalone programs.
-Zq
Time all subprocesses, and report these times on stdout at the end of
the compilation.
-Zv
Turn on verbose mode. In verbose mode, the C compiler ccom will
give additional diagnostics. This includes such things as flagging
any use of the C type double, and complaining about too many register
declarations.
-Zz
Print a trace of all exec() calls.
-ZA
pass the remainder of the string to as. Thus, the cc switch -ZA-q
will pass as the switch -q.
-ZC
pass the remainder of the string to ccom. Thus, the cc switch -ZC-p
will pass ccom the switch -v.
October 1984
Silicon Graphics
- 3 -
CC(1)
Version 1.0
Need help?
Do you have a question about the IRIS Workstation and is the answer not in the manual?