XL Fortran for AIX Usage: xlf [ option | file ] ... f77 [ option | file ] ... xlf90 [ option | file ] ... xlf_r [ option | file ] ... xlf90_r [ option | file ] ... xlf_r7 [ option | file ] ... xlf90_r7 [ option | file ] ... xlf95 [ option | file ] ... xlf95_r [ option | file ] ... xlf95_r7 [ option | file ] ... Description: The xlf, f77, xlf90, xlf_r, xlf90_r, xlf_r7, xlf90_r7, xlf95, xlf95_r and xlf95_r7 invocation commands compile XL Fortran source files. They also process assembler source files and object files. Unless you specify the -c option, these commands call the linkage editor to produce a single object file. The name of an input file indicates the type of file, as follows: -.f suffix: Fortran source file -.o or .a suffix: object file for ld command -.s suffix: assembler source file -.F suffix: Fortran source file with cpp preprocessor directives The main difference between these commands is that they use different default options (which are set in the configuration file /etc/xlf.cfg). See the XL Fortran User's Guide for more information on these invocation commands. Options: You can select compiler behavior by using compiler options on the command line, or by running the xxlf command to select them interactively. For a detailed description of each option, see the XL Fortran User's Guide. Options can be one or more of the following: 1. flag options: -# Displays verbose information on the compiler's progress without invoking anything. -1 Executes DO loops at least once, if reached. -B Constructs alternate names for preprocessor, compiler, assembler, linkage editor and other components. is added to the beginning of the standard program names. -b64 The option is only available on AIX 4.3 and above. In 64-bit mode, the -b64 linker option is used to instruct the ld command to bind with 64-bit objects. -bdynamic This option is only available on AIX 4.2 and above. It is used to control the processing of -l options and the way that shared objects are processed. When this option, the default, is in effect, shared objects are linked dynamically. See also -bstatic. -bhalt: Specifies the maximum error level for linker (ld) command processing to continue. The default value is 4, as specified in the configuration file. -bloadmap: Requests that a log of linker actions and messages be saved in file . -bmaxdata: Specifies the maximum amount of space to reserve for the program data segment for programs where the size of these regions is a constraint. -bmaxstack: Specifies the maximum amount of space to reserve for the program stack segment for programs where the size of these regions is a constraint. -brtl This option is only available on AIX 4.2 and above. It determines which algorithm will be used to find libraries (specified with the -l option). If -brtl is specified, run-time linking is enabled. -bshared Synonymous with -bdynamic. -bstatic This option is only available on AIX 4.2 and above. It is used to control the processing of -l options and the way that shared objects are processed. Shared objects are statically linked into the output file. See also -bdynamic. -C Performs run-time checking of array bounds and character substring expressions. -c Compile only; do not call the linkage editor. -D Compiles lines of fixed source form Fortran code that have a D in column 1. -d Leaves temporary files produced by cpp, instead of deleting them. -F[][:] Uses alternative configuration file and/or stanza . -g Produces debug information. -I Searches in directory for INCLUDE files that do not start with an absolute path, and for the .mod files of any modules used. -k States that Fortran code is in free source form input format. -L Searches in directory for files specified by -l. -l Search the specified library file, where selects the file lib.a. -N Specifies internal program storage areas where can be S and is used to calculate the size of the areas. -O Optimizes code generated by the compiler. -O2 Optimizes code (this is the same as -O). -O3 Performs the -O level optimizations and performs additional optimizations that are memory or compile time intensive. -O4 Aggressively optimizes the source program, trading off additional compile time for potential improvements in the generated code. This option implies the following options: -qarch=auto -qtune=auto -qcache=auto -qhot -qipa. -O5 Same as -O4, but also implies the -qipa=level=2 option. -o Names the executable file instead of a.out. -P Invokes the -Pv preprocessor before the compiler. -Pv Invokes the -Pv preprocessor before the compiler. -Pk Invokes the -Pk preprocessor before the compiler. -P! Invokes the -Pv preprocessor only. -Pv! Invokes the -Pv preprocessor only. -Pk! Invokes the -Pk preprocessor only. -p Generates simple profiling support code. -pg Generates profiling support code. Provides more extensive profiling than -p. -Q Inlines all appropriate subprograms. -Q Inlines specified subprograms where can be one of the following: ! = Do not inline. - = Do not inline the list of subprograms, . + = Inline the list of subprograms, . -S Produces one or more .s files, showing equivalent assembler source for each Fortran source file. -t Applies prefix from the -B option to the specified program , where can be one or more of the following: Component -t Mnemonic Standard Program Name C preprocessor F cpp VAST-2 preprocessor p fpp KAP preprocessor p fppk compiler front end c xlfentry loop optimizer h xlfhot IPA processor I (upper case i) ipa assembler a as code generator b xlfcode linker l (lower case L) ld -S disassembler d dis binder z bolt -U Suppresses lowercase folding of Fortran code. -u Specifies undefined (no) implicit data typing. -V Displays verbose information on the compiler's progress in shell-executable format. -v Displays verbose information on the compiler's progress. -W,[,[, ... [,] ... ]] Sends options to component that is executed during compilation. The suboptions are defined as for -t. -w Suppresses informational, language-level, and warning messages. -y Specifies compile-time rounding of constant floating-point expressions, where can be one of the following: n = Round to nearest. This is the default. m = Round toward minus infinity. p = Round toward positive infinity. z = Round toward zero. 2. other options: Other options may be on/off or have suboptions and are specified in one of two ways: i) -q