B

Option Type Default Value #pragma options C C++
-flag - - x x

Syntax

    -B | -Bprefix | -B -tprograms | -Bprefix -tprograms 

Purpose
Determines substitute path names for programs such as the compiler, assembler, linkage editor, and preprocessor.

Notes
The optional prefix defines part of a path name to the new programs. The compiler does not add a / between the
prefix and the program name.

To form the complete path name for each program, IBM VisualAge C++ adds prefix to the standard program names for the compiler, assembler, linkage editor and preprocessor.

Use this option if you want to keep multiple levels of some or all of IBM VisualAge C++ executables and have the option of specifying which one you want to use.

If -Bprefix is not specified, the default path is used.

-B -tprograms specifies the programs to which the -B prefix name is to be appended.

The -Bprefix -tprograms options override the -Fconfig_file option.

Example
To compile myprogram.c using a substitute xlC compiler in /lib/tmp/mine/ enter:

xlC myprogram.c -B/lib/tmp/mine/

To compile myprogram.c using a substitute linkage editor in /lib/tmp/mine/, enter:

xlC myprogram.c -B/lib/tmp/mine/ -tl


List of Batch Compiler Options and Their Defaults
Options that Specify Compiler Characteristics
Equivalent Batch Compile-Link and Incremental Build Options
-qpath