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

Compiling and linking
Compiling with the f90 command
Chapter 2 45
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.
-lx
-l causes the linker to search the library named by either /lib/libx.a (or .sl) or
/usr/lib/libx.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.
-M
Generate the make rule corresponding to the compilation, the output is redirected to the
stdout or user specified file. The rule describes the dependencies of the source file,
containing the object file name for that source file, a colon, and the names of all the
included files.
-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
Enables attaching multiple FORTRAN UNITs to the same file by allowing the file to be
opened in multiple Fortran OPEN statements.
-n
Mark output from the linker shared. For details and system defaults, see ld(1).
-N