Option Type | Default Value | #pragma options | C | C++ |
-flag | See below. | - | x | x |
Syntax:
-tprograms
Purpose
Adds the prefix specified by the -B
option to the designated programs.
Notes
This option can only be used with the -B
option. The flags representing the standard program
names are:
Program Description c Compiler front end b Compiler back end p Compiler preprocessor a Assembler I Interprocedural Analysis tool - compile phase L Interprocedural Analysis tool - link phase l Linkage editor m Linkage helper (munch)
Default
If -B is specified but
prefix is not, the default prefix is /lib/o.
If -Bprefix is not specified at all,
the prefix of the standard program names is /lib/n.
If -B is specified but -tprograms is not, the default is to construct path names for all the standard program names: (c,b, I, a, l, and m).
Example
To compile myprogram.c so that the name
/u/newones/compilers/ is prefixed to the compiler and
assembler program names, enter:
xlC myprogram.c -B/u/newones/compilers/ -tca