HP Fortran Programmer's Guide (March 2010)
Compiling and linking
Compiling with the f90 command
Chapter 234
-check_bounds performs run-time error checking; promote compile-time
bound violations to errors.
+[no]cfc
Enable or Disable Compaq/DEC F90 language mode.
+cpp={yes|no|default}
+cpp=yes tells the compiler to pass the source files specified on the
command line to the C preprocessor before passing them on to the compiler.
This option does not apply to .i and .i90 files.
The default, +cpp=default, is to apply the C preprocessor to files that end
in the .F extension but not to files that end in .f or .f90.
Specifying +cpp=no tells the compiler not to invoke the C preprocessor for
all files on the command line, including those ending in .F.
If you want to keep the output from the C preprocessor, use the +cpp_keep
option.
+[no]cpp_keep
+cpp_keep causes the compiler to retain the output from the C preprocessor.
If the source filename is file.f or file.F, the output filename is file.i; if
the source filename is file.f90, the output filename is file.i90. The
compiler will accept source files with the .i and .i90 extensions.
The default, +nocpp_keep, is to discard the output file.
Note that this option does not pass source files to the C preprocessor. To do
that, you must also specify the +cpp=yes option.
-D name[=def]
-D defines a symbol name (name) to the C preprocessor. If you do not
provide a definition (def) for the symbol name, name is defined as 1. This
option applies only to files that are passed to the C preprocessor.
+DAmodel
+DA generates object code for a particular version of the PA-RISC
architecture. By default, the compiler generates code for the machine model
you are compiling on. With this option, you can override the default,
causing the compiler to generate code for the machine on which the program
will execute rather than for the machine on which it is compiled.
model can be one of the following:
• A PA-RISC version number (1.1 or 2.0)