Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Fortran 90 Compiler for HP-UX: Fortran 90 Programmer's Guide > Chapter 1 An overview of HP Fortran 90

Driver

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

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.

Compile-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 “Options for controlling the f90 driver” lists and briefly describes the options that control the driver.

Table 1-1 Options for controlling the f90 driver

OptionFunction
-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.

-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)

If you compile and link separately and specify +tl on the compile line, you must also specify it on the link line.

+usage

List and briefly describe all f90 options.

-v

Print verbose information to standard output as program is compiled.

+version

Write compiler version information to standard output, without compiling.

-Wx,arg1[,arg2,...,argN]

Pass arg1 through argN to a subprocess of the compilation, identified by x. The values for x are:

  • a Assembler

  • c Compiler

  • l Linker

  • p C preprocessor

If you compile and link separately and specify +Wl on the compile line, you must also specify it on the link line.

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.