24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-B Option<br />

Syntax<br />

-Bprefix<br />

Determines a substitute path name <strong>for</strong> executable files used during compilation,<br />

such as the compiler or linker. It can be used in combination with the -t option,<br />

which determines which of these components are affected by -B.<br />

Arguments<br />

prefix is the name of a directory where the alternative executable files reside. It<br />

must end in a / (slash).<br />

Rules<br />

To <strong>for</strong>m the complete path name <strong>for</strong> each component, the driver program adds<br />

prefix to the standard program names. You can restrict the components that are<br />

affected by this option by also including one or more -tmnemonic options.<br />

You can also specify default path names <strong>for</strong> these commands in the configuration<br />

file.<br />

This option allows you to keep multiple levels of some or all of the <strong>XL</strong> <strong>Fortran</strong><br />

components or to try out an upgraded component be<strong>for</strong>e installing it permanently.<br />

When keeping multiple levels of <strong>XL</strong> <strong>Fortran</strong> available, you might want to put the<br />

appropriate -B and -t options into a configuration-file stanza and to use the -F<br />

option to select the stanza to use.<br />

Examples<br />

In this example, an earlier level of the <strong>XL</strong> <strong>Fortran</strong> components is installed in the<br />

directory /usr/lpp/xlf/bin. To test the upgraded product be<strong>for</strong>e making it available<br />

to everyone, the system administrator restores the latest install image under the<br />

directory /home/jim and then tries it out with commands similar to:<br />

xlf95 -tchbI -B/home/jim/usr/lpp/xlf/bin/ test_suite.f<br />

Once the upgrade meets the acceptance criteria, the system administrator installs it<br />

over the old level in /usr/lpp/xlf/bin.<br />

Related In<strong>for</strong>mation<br />

See “-t Option” on page 270, “-F Option” on page 107, “Customizing the<br />

Configuration File” on page 15, and “Running Two Levels of <strong>XL</strong> <strong>Fortran</strong>” on page<br />

28.<br />

<strong>XL</strong> <strong>Fortran</strong> Compiler-Option Reference 93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!