Fortran User's Guide

-xl[d]

Enable more VMS Fortran extensions.

    SPARC:77 x86:77

-xl: Enable the compiler to accept more VMS Fortran extensions. This is a macro that is translated to -vax=misalign, and provides the language features that are listed later in this description. See the description of -vax=, "-vax=v".

Although most VMS features are accepted automatically by f77 without any special options, you must use the -xl option for a few VMS extensions.

In general, you need the -xl option if a source statement can be interpreted as either a VMS feature or an f77 or f90 feature, and you want the VMS feature. In this case, the -xl option forces the compiler to interpret it the VMS way.

This option enables the following VMS language features:

Use -xl to get VMS alignment if your program has some detailed knowledge of how VMS structures are implemented.

Use -xld to cause compilation of debugging comments (D or d in column one). Without the -xld option, they remain comments only. (There is no space between -xl and d.)

Programs that share structures with C routines should not use -xl.

See the Fortran Library Reference for information on the VMS libraries. See also the chapter on VMS language extensions in the FORTRAN 77 Language Reference that the f77 compiler automatically recognizes.