None.
Specifies substitute path names for XL C components such as the compiler, assembler, linker, and preprocessor.
You can use this option if you want to keep multiple levels of some or all of the XL C components and have the option of specifying which one you want to use. This option is preferred over the -B and -t options.
.-------. V | >>- -q--path--=----+-a-+-+--:--directory_path------------------>< +-b-+ +-c-+ +-d-+ +-E-+ +-I-+ +-L-+ +-l-+ '-p-'
By default, the compiler uses the paths for compiler components defined in the configuration file.
The following table shows the correspondence between -qpath parameters and the component names:
Parameter | Description | Component name |
---|---|---|
a | The assembler | as |
b | The low-level optimizer | xlCcode |
c | The compiler front end | xlcentry |
d | The disassembler | dis |
E | The CreateExportList utility | CreateExportList |
I (uppercase i) | The high-level optimizer, compile step | ipa |
L | The high-level optimizer, link step | ipa |
l (lowercase L) | The linker | ld |
p | The preprocessor | n/a |
The -qpath option overrides the -F, -t, and -B options.
Note that using the p suboption causes the source code to be preprocessed separately before compilation, which can change the way a program is compiled.
None.
xlc myprogram.c -qpath=c:/lib/tmp/mine/
xlc myprogram.c -qpath=l:/lib/tmp/mine/