HP Fortran Programmer Guide HP-UX 11i v1, HP-UX 11i v2, and HP-UX 11i v3 (B3908-90032,December 2012)
+whatprints the whatstring for the Fortran 90 driver,
providing version and patch numbers.
+what
-Wcauses arg1through argNto be handed off to
subprocess x. Each arg takes the form:
-option[,value]
-Wx,arg1,arg2,...,argN
where optionis the name of an option recognized by the
subprocess and value is a separate argument to option,
where necessary. The values that xcan assume are listed
in Table 2-8.
For example, the following option tells the linker to print a
trace of each input file as ldprocesses it:
-Wl,-t
The next example passes the -ashared option to the linker,
causing it to select shared libraries for linking.
-Wl,-a,shared
Table 17
MeaningValue
Assemblera
Compilerc
Linkerl
C preprocessorp
Enable Native Language Support in the given language
(lang). This has the same functionality as the +nlsoption.
-Y=lang
see+pic=shortin this chapter. If +zis specified when
creating 64-bit code, it instead maps to +Z.
+z
see+pic=longin this chapter for a description. Note that
when creating 64-bit shared executables (such as when
+Z
+DA2.0Wis specified), the +Zoption 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.
The named symbols are assigned the default export class.
These symbols may be imported or exported outside of the
-Bdefault=symbol[,symbol...]
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
-Boption (or the deprecated +O[no]externoption) will
Symbol binding options 35