cc_bundled(1)

cc_bundled(1)

(Bundled C Compiler - Limited Functionality)

-Dname=def

De®ne name to the preprocessor, as if by '#de®ne'. See cpp(1) for details.

-Dname

 

 

-E

Run only cpp on the named C or assembly ®les, and send the result to the standard

 

output.

-Idir

Change the algorithm used by the preprocessor for ®nding include ®les 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 ®le from the linker out®le. The default name is a.out.

-P

Run only cpp on the named C ®les and leave the result on corresponding ®les suf®xed

 

.i. The -Poption is also passed along to cpp.

+Rnum

Allow only the ®rst 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 ®les, and leave the assembly language output on corresponding

 

®les suf®xed .s.

-tx,name

Substitute subprocess x with name where x is one or more of a set of identi®ers indi-

 

cating the subprocess(es). This option works in two modes: 1) if x is a single

 

identi®er, name represents the full path name of the new subprocess; 2) if x is a set of

 

identi®ers, name represents a pre®x to which the standard suf®xes 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 suf®x is cpp)

 

c Compiler (standard suf®x is ccom)

 

a Assembler (standard suf®x is as)

 

l Linker (standard suf®x is ld)

-Uname

Remove any initial de®nition 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 -Woption

 

speci®cation allows additional, implementation-speci®c 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

ccrun, or perhaps libraries of C-compatible routines. These programs, together with the results of any compilations speci®ed, are linked (in the order given) to produce an executable program with the

HP-UX Release 11i: December 2000

− 2 −

Section 163

c