Portability and migration

The options in this category can help you maintain application behavior compatibility on past, current, and future hardware, operating systems and compilers, or help move your applications to an XL compiler with minimal change.
Table 1. Portability and migration options
Option name @PROCESS directive Description
-qalign ALIGN

Specifies the alignment of data objects in storage, which avoids performance problems with misaligned data.

-qbindcextname BINDCEXTNAME

Controls whether the -qextname option affects BIND(C) entities.

-qctyplss CTYPLSS

Specifies whether character constant expressions are allowed wherever typeless constants may be used.

-qddim DDIM

Specifies that the bounds of pointee arrays are re-evaluated each time the arrays are referenced and removes some restrictions on the bounds expressions for pointee arrays.

-qdescriptor None.

Specifies the XL Fortran internal descriptor data structure format to use for non object-oriented entities in your compiled applications.

-qescape ESCAPE

Specifies how the backslash is treated in character strings, Hollerith constants, H edit descriptors, and character string edit descriptors.

-qextern None.

Allows user-written procedures to be called instead of XL Fortran intrinsics.

-qextname EXTNAME

Adds an underscore to the names of all global entities.

-qlog4 LOG4

Specifies whether the result of a logical operation with logical operands is a LOGICAL(4) or is a LOGICAL with the maximum length of the operands.

-qmodule None.

Specifies that the compiler should use the XL Fortran Version 8.1 naming convention for non-intrinsic module files.

-qport PORT

Provides options to accommodate other Fortran language extensions when porting programs to XL Fortran.

-qswapomp SWAPOMP

Specifies that the compiler should recognize and substitute OpenMP routines in XL Fortran programs.

-qxflag=oldtab XFLAG(OLDTAB)

Interprets a tab in columns 1 to 5 as a single character (for fixed source form programs).