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

Option

Function

-c

Suppress the link phase and produce an object file (.o)

 

from each source file on the command line.

+dryrun

Generate sub-process information for a given f90

 

command-line without running the sub-processes.

-o

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.

-tx,name

Substitute a private version (name) of one or more

 

subprocesses (x) of the compilation. The values for x are:

 

a

Assembler

 

c

Compiler

 

l

Linker

 

p

C preprocessor

 

s

Startup file (crt0.o library)

 

e

Debug file (end.o library)

Driver 9

Page 9
Image 9
HP UX Fortran Software manual Driver, Options for controlling the f90 driver, +dryrun, +preinclude= file, Tx,name