Source Program

Option

Description

-1

Same as -onetrip.

-132

Enables fixed form source lines to contain up to 132 characters.

-ansi[-]

Enables (default) or disables assumption of the program’s ANSI conformance.
Provides cross-platform compatibility

-dps , -nodps
Default: -dps

Enables (default) or disables DEC* parameter statement recognition.

-extend_source

Enables extended (132-character) source lines. Same as -132.

-FI
 

Specifies that all the source code is in fixed format; this is the default except for files ending with the suffix .f, .ftn, .for.

-FR
 

Specifies that all the source code is in Fortran 90-95 free format; this is the default for files ending with the suffix .f90.

-lowercase

Default. Changes routine names to all lowercase characters.  

-nbs
 

Treats backslash (\) as a normal graphic character, not an escape character. This may be necessary when transferring programs from non-UNIX environments, for example from VAX-VMS. For the effects of the escape character, see the Escape Characters.

-nus[file]
 

Do not append an underscore to subroutine names listed in file.  Useful when linking with C routines.

-onetrip
 

Compiles DO loops at least once if reached (by default, Fortran 95 DO loops are not performed at all if the upper limit is smaller than the lower limit). Same as -1.

-pad_source
 

Enforces the acknowledgment of blanks at the end of a line.

-uppercase
 

Maps routine names to all uppercase characters.

Note
Do not use this option in combination with -Vaxlib or -posixlib.

-vms
 

Enables support for extensions to Fortran that were introduced by Digital VMS Fortran compilers. The extensions are as follows:

  • The compiler enables shortened, apostrophe-separated syntax for parameters in I-O statements.

  • The compiler assumes that the value specified for RECL in an OPEN statement is given in words rather than bytes. This option also implies -dps (on by default).