HP Fortran Programmer's Guide (September 2007)

Compiling and linking
Compiling with the f90 command
Chapter 242
+k generates code for programs that reference a very large number of shared
data items. The linker will issue a diagnostic message in the rare case when
this option is needed. By default, the compiler generates short-displacement
code sequences for programs that reference global data in shared libraries.
For nearly all programs, this is sufficient.
-K
Use static storage for locals instead of stack storage. This option has the
same functionality as the +save option.
-L
directory
For libraries named in -l operands, look in
directory
before looking in the
standard places. You can specify multiple directories; each
directory
must
be preceded by its own -L option. Directories named in -L options are
searched in the specified order. This option must precede the -l option on
the command line.
-l
x
-l causes the linker to search the library named by either /lib/lib
x
.a (or
.sl) or /usr/lib/lib
x
.a (or .sl); the linker searches /lib first. The
current state of the -a linker option determines whether the archive (.a)or
shared (.sl) version of the library is searched. See the ld(1) man page for
information about -a option.
+langlvl={90|default}
+langlvl=90 checks for strict compliance to the Fortran 90 Standard and
issues warnings for any HP Fortran extensions to the Standard. The
default, +langlvl=default, allows extensions.
+[no]list
+list produces a source listing on standard output. The default, +nolist,is
not to produce a source listing.
-minshared
Indicates that the result of the current compilation is going into an
executable file that will make minimal use of shared libraries.
+moddir=
directory
+moddir directs the compiler to write .mod files to
directory
. If this option
is not specified, the compiler writes modules in the current directory.
+multi_open