24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

fsuffix<br />

cppsuffix<br />

osuffix<br />

ssuffix<br />

libraries<br />

proflibs<br />

smplibraries<br />

hot<br />

ipa<br />

bolt<br />

defaultmsg<br />

include<br />

include_32<br />

include_64<br />

that can be compiled by <strong>XL</strong> <strong>Fortran</strong>. The default option is -C,<br />

which preserves any C-style comments in the output.<br />

The allowed suffix <strong>for</strong> <strong>Fortran</strong> source files. The default is f. The<br />

compiler requires that all source files in a single compilation have<br />

the same suffix. There<strong>for</strong>e, to compile files with other suffixes, such<br />

as f95, you must change this attribute in the configuration file or<br />

use the -qsuffix compiler option. For more in<strong>for</strong>mation on -qsuffix,<br />

see “-qsuffix Option” on page 244.<br />

The suffix that indicates a file must be preprocessed by the C<br />

preprocessor (cpp) be<strong>for</strong>e being compiled by <strong>XL</strong> <strong>Fortran</strong>. The<br />

default is F.<br />

The suffix used to recognize object files that are specified as input<br />

files. The default is o.<br />

The suffix used to recognize assembler files that are specified as<br />

input files. The default is s.<br />

-l options, which are separated by commas, that specify the<br />

libraries used to link all programs.<br />

-L options, which are separated by commas, that specify the path<br />

where the linker searches <strong>for</strong> additional libraries <strong>for</strong> profiled<br />

programs.<br />

Specifies the libraries that are used to link programs that you<br />

compiled with the -qsmp compiler option.<br />

Absolute path name of the program that does array language<br />

trans<strong>for</strong>mations.<br />

Absolute path name of the program that per<strong>for</strong>ms interprocedural<br />

optimizations, loop optimizations, and program parallelization.<br />

Absolute path name of the binder.<br />

Absolute path name of the default message files.<br />

Indicates the search path that is used <strong>for</strong> compilation include files<br />

and module files.<br />

Indicates the search path that is used <strong>for</strong> 32-bit compilation include<br />

files.<br />

Indicates the search path that is used <strong>for</strong> 64-bit compilation include<br />

files.<br />

Note: To specify multiple search paths <strong>for</strong> compilation include files, separate each<br />

path location with a comma as follows:<br />

include = -l/path1, -l/path2, ...<br />

What a Configuration File Looks Like<br />

The following is an example of a configuration file:<br />

* Standard <strong>Fortran</strong> compiler<br />

xlf95: use = DEFLT<br />

libraries = -lxlf90,-L/usr/lpp/xlf/lib,-lxlopt,-lxlf,-lxlomp_ser,<br />

-lm,-lc<br />

proflibs = -L/lib/profiled,-L/usr/lib/profiled<br />

options = -qfree=f90<br />

* Alias <strong>for</strong> standard <strong>Fortran</strong> compiler<br />

18 <strong>XL</strong> <strong>Fortran</strong> <strong>Enterprise</strong> <strong>Edition</strong> <strong>for</strong> <strong>AIX</strong> : User’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!