HP Fortran Programmer's Guide (March 2010)
An overview of HP Fortran
Driver
Chapter 14
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-1 lists and briefly describes the options that control the driver.
Table 1-1 Options for controlling the f90 driver
Option Function
-c Suppress the link phase and produce an object file (.o)
from each source file on the command line.
-o outfile Name the output file outfile instead of the default file
name (a.out or filename.o). If linking has been
suppressed, the front end uses this option to name the
object file.
+pre_include=file Process contents of file before all source files specified
on the command line. The command line can have
multiple occurrences of this option, each specifying a
different file; they are processed in the specified order.