HP aC++/HP C A.06.20 Programmer's Guide
Table 2-7 Identifiers (continued)
Descriptionx
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.
aCC -tC,/users/proj/ecom file.C
• Substituting for all Subprocesses:
The following example compiles file.C and specifies that the characters /new/
aCC should be used as a prefix to all the subprocesses of HP aC++. For example,
/new/aCC/ecom runs instead of the default /opt/aCC/lbin/ecom.
aCC -tx,/new/aCC file.C
-Wx,args
-Wx,arg1[,arg2,..,argn]
114 Command-Line Options