-qpath

Category

Compiler customization

Purpose

Specifies substitute path names for XL Fortran components such as the assembler, C preprocessor, and linker.

You can use this option if you want to keep multiple levels of some or all of the XL Fortran components and have the option of specifying which one you want to use.

Syntax

Read syntax diagramSkip visual syntax diagram
                 .-------.                      
                 V       |                      
>>- -q--path--=----+-a-+-+--:--directory_path------------------><
                   +-b-+                        
                   +-c-+                        
                   +-d-+                        
                   +-E-+                        
                   +-F-+                        
                   +-h-+                        
                   +-I-+                        
                   +-l-+                        
                   '-z-'                        

Defaults

By default, the compiler uses the paths for compiler components defined in the configuration file.

Parameters

directory_path
The path to the directory where the complier components are located.It must be an existing directory. It can be relative or absolute.

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 xlfcode
c The compiler front end xlfentry
d The disassembler dis
E The CreateExportList utility CreateExportList
F The C preprocessor cpp
h The array language optimizer xlfhot
I (uppercase i) The high-level optimizer, compile step ipa
l (lowercase L) The linker ld
z The binder bolt

Usage

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

Examples

To compile myprogram.f using a substitute compiler front end and linker from /fix/FE/ and the remaining compiler components from default locations, enter:
xlf myprogram.f -qpath=cl:/fix/FE  
To compile myprogram.f using a substitute compiler front end from /fix/FE, a substitute linker from the current directory, and the remaining compiler components from default locations, enter:
xlf95 myprogram.f -qpath=c:/fix/FE -qpath=l:.

Related information