HP Fortran Programmer's Guide (September 2007)
Compiling and linking
Compiling with the f90 command
Chapter 256
-Y=
lang
Enable Native Language Support in the given language (lang). This has the
same functionality as the +nls option.
+z
see
+pic=short in this chapter. If +z is specified when creating 64-bit
code, it instead maps to +Z.
+Z
see
+pic=long in this chapter for a description. Note that when creating
64-bit shared executables (such as when +DA2.0W is specified), the +Z option
is on by default. This is the only PIC option supported for
64-bit executables.
NOTE To not generate position-independent code for 64-bit
executables, specify the -W1, -noshared option:
Symbol binding options
The following -B options are recognized by HP Fortran to specify whether references to global
symbols may be resolved to symbols defined in the current translation unit, or whether they
must be assumed to be potentially resolved to symbols defined in another load module.
All -B options are applied in a ‘left to right’ order so that options at the end of a string may
supercede those that appear earlier in the string.
-Bdefault=
symbol
[,
symbol
...]
The named symbols are assigned the default export class. These symbols
may be imported or exported outside of the current load module. The
compiler will access tentative symbols through the linkage table. Any
symbol that is not assigned to another export class through use of another
-B option (or the deprecated +O[no]extern option) will have the default on
a per-symbol basis to specify exceptions to global -Bprotected, -Bhidden,
or -Bextern options.
-Bdefault:
filename