HP Fortran Programmer's Guide (September 2007)
Compiling and linking
Compiling with the f90 command
Chapter 238
-g
-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:
SIGSYS Bad argument to system call
Table 2-5 Signals recognized by the +fp_exception option (Continued)
Signal Meaning