Source Program

See more details in Source Program Features.

Option

Description

Default

-1

Same as -onetrip.

OFF

-132

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

OFF

-ansi[-]

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

-ansi

-dps , -nodps

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

-dps

-extend_source

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

OFF

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

OFF

-FR
 

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

OFF

-lowercase

Controls the case of routine names and external linker symbols to all lowercase characters.

-lowercase  

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

OFF

-nus[file]
 

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

OFF

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

OFF

-pad_source
 

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

OFF

-uppercase
 

Maps routine names to all uppercase characters.

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

OFF

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

OFF