Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
c
cc_bundled(1) cc_bundled(1)
(Bundled C Compiler - Limited Functionality)
-D
name=def Define name to the preprocessor, as if by ’#define’. See cpp(1) for details.
-Dname
-E Run only cpp on the named C or assembly files, and send the result to the standard
output.
-Idir Change the algorithm used by the preprocessor for finding include files to also search
in directory dir. See cpp(1) for details.
-lx Refer to the DESCRIPTION section.
-L dir Change the algorithm used by the linker to search for libx.sl or libx.a. The -L
option causes cc to search in dir before searching in the default locations. See ld(1)
for details.
-ooutfile Name the output file from the linker outfile. The default name is a.out.
-P Run only cpp on the named C files and leave the result on corresponding files suffixed
.i. The -P option is also passed along to cpp.
+Rnum Allow only the first num register variables to actually have the register class.
Use this option when the register allocator issues the message:
out of general registers
-s
Cause the output of the linker to be stripped of symbol table information. See strip(1)
for more details. The use of this option prevents the use of a symbolic debugger on
the resulting program. See ld(1) for more details.
-S Compile the named C files, and leave the assembly language output on corresponding
files suffixed .s.
-tx,name Substitute subprocess x with name where x is one or more of a set of identifiers indi-
cating the subprocess(es). This option works in two modes: 1) if x is a single
identifier, name represents the full path name of the new subprocess; 2) if x is a set of
identifiers, name represents a prefix to which the standard suffixes are concatenated
to construct the full path names of the new subprocesses.
The x can take one or more of the values:
p Preprocessor (standard suffix is
cpp)
c Compiler (standard suffix is ccom)
a Assembler (standard suffix is as)
l Linker (standard suffix is ld)
-Uname Remove any initialdefinition of name in the preprocessor. See cpp(1) for details.
-v Enable verbose mode, which produces a step-by-step description of the compilation
process on the standard error.
-V Cause each invoked subprocess to print its version information to stdout.
-w Suppress warning messages.
-Wx,arglist Pass the comma-separated argument(s) in arglist to subprocess x. The
-W option
specification allows additional, implementation-specific options to be recognized by the
compiler driver. For example,
-Wl,-a,archive
causes the linker to link with archive libraries instead of with shared libraries. See
ld(1) for details.
The x can assume one of the following values:
p Preprocessor
a Assembler
l Linker
Any other options encountered generate a warning to standard error.
Other arguments are assumed to be 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 linked (in the order given) to produce an executable program with the
HP-UX Release 11i: December 2000 − 2 − Section 1−−63
___
___