HP Fortran Programmer's Guide (B3908-90031; September 2011)

Compiling and linking
Compiling with the f90 command
Chapter 2 41
-g causes the compiler to generate information for use by the HP WDB debugger. The
-g option can be used to prepare code for debugging that has been compiled with
optimization options -O, -O1/+O1, and -O2/+O2, but not -O3/+O3 or higher.
-G
Generate code for gprof(1) profiling. This has the same functionality as +gprof.
+getarg
+getarg0 and +getarg1 control the behavior of the getarg intrinsic subroutine.
+getarg0 requests the industry standard behavior for getarg, where an index value of
zero causes the program name to be returned. HP’s FORTRAN 77 getarg intrinsic also
implements this industry standard convention. +getarg1 is used to request
non-standard behavior, where an index value of one causes the program name to be
returned (older releases of HP Fortran behaved in this manner). The default is
+getarg0.
gformat77
gformat77 requests the FORTRAN 77 style of formatting a value of zero with the G
edit descriptor. Fortran 90 uses an F edit descriptor when the value being written is
zero, while FORTRAN 77 uses an E edit descriptor.
+[no]gprof
+gprof prepares object code files for profiling with gprof. The default is +nogprof.
gprof is provided as part of the “HP-UX General Programming Tools” product; see
gprof(1).
The -G option can be used to perform the same function as +gprof.
+hugecommon
+hugecommon instructs the compiler to place the specified COMMON block into a
huge data segment. The format for this option is:
+hugecommon=name
where name is the name of a COMMON block. By default, only COMMON blocks
larger than 2 gigabytes are placed into huge data segments.
For example:
% f90 +hugecommon=results pcvals.f90
places the COMMON block named results into a huge data segment.