Fortran User's Guide

Command-Line Help

You can view very brief descriptions of the f77 and f90 command line options by invoking the compiler's -help option as shown below:


%f77 -help  -or-  
 f90 -help
_______________________________________________________________
Items within [ ] are optional. Items within < > are variable
parameters.Bar | indicates choice of literal values. For example:
   -someoption[=<yes|no>] implies  -someoption  is  
   -someoption=yes
_______________________________________________________________
-a:            Collect data for tcov basic block profiling
                   (old format)
-ansi:         Report non-ANSI extensions.
-arg=local:    Preserve actual arguments over ENTRY statements
-autopar:      Enable automatic loop parallelization 
                       (requires WorkShop license)
-Bdynamic:     Allow dynamic linking
-Bstatic:      Require static linking
-c:            Compile only - produce .o files, suppress linking
-C:            Enable runtime subscript range checking
-cg89:         Generate code for generic SPARC V7 architecture
-cg92:         Generate code for SPARC V8 architecture
-copyargs:     Allow assignment to constant arguments
...etc.