HP Fortran Programmer's Guide (March 2010)
Compiling and linking
Compiling with the f90 command
Chapter 2 31
Note, however, that constants specified with an exponent—for example,
4.0E0 and 2.3D0—are doubled.
Items promoted include constants, scalar variables, arrays, components of
derived types, and record fields. This option also promotes intrinsics as well
as the results and arguments of user-defined functions to the proper
precision. Types specified in ON statements are also promoted.
The entire program should be compiled with this option, not just selected
files. Use this option when you want to promote only the single-precision
items.
The default is +noautodbl4.
NOTE The +autodbl4 option causes items declared as REAL,
INTEGER, and DOUBLE PRECISION all to have the same size.
This violates the Fortran Standard.
-b
This option can be specified to invoke ld with -b to create a shared library.
-B option
The -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. The -B options are only
supported on HP-UX version 11i and later. See “Symbol binding options” on
page 60.
-c
-c compiles the specified source files but does not link them. The compiler
produces a relocatable file (.o) for each file in the files list (these may
include .f90, .f, .F, .i, .i90, and .s files). When using -c and -o together,
you may specify only one source file on the command line; the resulting
object file is renamed.
-C
Performs run-time error checking of array subscripts. -C has the same
functionality as the +check=all option.
+cat