HP-UX Reference (11i v2 04/09) - 1 User Commands A-M (vol 1)

c
cc_bundled_pa(1)
For PA-RISC Systems
cc_bundled_pa(1)
(Bundled C Compiler - Limited Functionality)
-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 correspond-
ing 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 con-
catenated 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 initial definition 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 name a.out.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
HP-UX 11i Version 2: September 2004 2 Hewlett-Packard Company Section 175