HP aC++/HP C A.06.25 Programmer's Guide
The -tx,name option substitutes or inserts subprocess x, using name.
The parameter, x, is one or more identifiers indicating the subprocess or subprocesses.
The value of x can one or more of the following:
Table 2-7 Identifiers
Descriptionx
Assembler (standard suffix is as)a
Compiler (standard suffix is ctcom/ecom)c
Same as cC
Filter tool (standard suffix is c++filt)f
Linker (standard suffix is ld)l
Preprocessor (standard suffix is cpp.ansi).
-tp must be used before any -Wp options can be passed to cpp.ansi. To enable the
external preprocessor, use:
-tp,/opt/langtools/lbin/cpp.ansi.
p
Stand-alone code generator (standard suffix is u2comp)u
All subprocesses
x
The -tx,name 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.
For example, the following command invokes the assembler /users/sjs/myasmb
instead of the default assembler /usr/ccs/bin/as to assemble and link file.s.
aCC -ta,/users/sjs/myasmb file.s
More Examples of -t
Following are some examples of -t option:
• Substituting for C++ file:
The following example compiles file.C and specifies that /new/bin/c++filt
should be used instead of the default /opt/aCC/bin/c++filt.
aCC -tf,/new/bin/c++filt file.C
• Substituting for ecom:
The following example compiles file.C and specifies that /users/proj/ecom
should be used instead of the default /opt/aCC/lbin/ecom.
Subprocesses of the Compiler 115