Determines substitute path names for programs such as the compiler, assembler, linkage editor, and preprocessor.
where program can be any program name recognized by the -t compiler option. See the documentation for t for more information about specifying programs.
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 XL C/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 XL C/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.
To compile myprogram.C using a substitute xlc++ compiler in /lib/tmp/mine/ enter:
xlc++ myprogram.C -B/lib/tmp/mine/ -tc
To compile myprogram.C using a substitute linkage editor in /lib/tmp/mine/, enter:
xlc++ myprogram.C -B/lib/tmp/mine/ -tl