HP Fortran Programmer Guide (766160-001, March 2014)
Figure 1 HP Fortran compiler environment
Driver
The driver parses the f90 command line by which you invoke the compiler, calls each subprocess
as needed to complete the compilation, and retains control throughout the compilation process.
Command-line options that control driver functions enable you to do the following:
• Call subprocesses that you want to substitute for those that f90 calls by default
• Pass arguments to a subprocess
• Get a summary listing of all options supported by the compiler
• Display information about the version of f90 you are using
• Control the level of information that the driver displays about the compilation process
Table 1 (page 9) lists and briefly describes the options that control the driver
Table 1 Options for controlling the f90 driver
FunctionOption
Suppress the link phase and produce an object file (.o)
from each source file on the command line.
-c
Generate sub-process information for a given f90
command-line without running the sub-processes.
+dryrun
Name the output file outfile instead of the default file
name (a.out or filename.o). If linking has been
-o
suppressed, the front end uses this option to name the
object file.
Process contents of file before all source files specified
on the command line. The command line can have multiple
+pre_include=file
occurrences of this option, each specifying a different
file; they are processed in the specified order.
Substitute a private version (name) of one or more
subprocesses (x) of the compilation. The values for x are:
-tx,name
a Assembler
c Compiler
l Linker
p C preprocessor
s Startup file (crt0.o library)
e Debug file (end.o library)
Driver 9