Option Type | Default Value | #pragma options | C | C++ |
-qpath | - | - | x | x |
Syntax
-qpath=components:path
Purpose
Constructs alternate program names. The programs specified by components and
located in the path directory are used in place of the regular programs. components
can be a combination of any of the following:
Program | Description |
c | Compiler front end |
b | Compiler back end |
i | Compiler inliner |
p | Compiler preprocessor |
a | Assembler |
I | Interprocedural Analysis tool - compile phase |
L | Interprocedural Analysis tool - link phase |
l | Linkage editor |
E | CreateExportList utility |
m | Linkage helper (munch utility) |
The -qpath option overrides the -Fconfig_file, -t, and -B options.
Example
To compile myprogram.c using a substitute xlC compiler in /lib/tmp/mine/
enter:
xlC myprogram.c -qpath=c:/lib/tmp/mine/
To compile myprogram.c using a substitute linkage editor in /lib/tmp/mine/, enter:
xlC myprogram.c -qpath=l:/lib/tmp/mine/
List of Batch Compiler Options and Their Defaults
Options that Specify Compiler Characteristics
Equivalent Batch Compile-Link and Incremental
Build Options