path

Applies to C Applies to C++

Purpose

Constructs alternate program names for compiler components. The program and directory path specified by this option is used in place of the regular program.

Syntax


Syntax Diagram

where 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

Notes

The -qpath option overrides the -Fconfig_file, -t, and -B options.

Examples

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/ 

Related References

Compiler Command Line Options
B
F
t IBM Copyright 2003