28.11.2012 Views

LF Fortran Express User's Guide - Lahey Computer Systems, Inc.

LF Fortran Express User's Guide - Lahey Computer Systems, Inc.

LF Fortran Express User's Guide - Lahey Computer Systems, Inc.

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 Developing with <strong>LF</strong> <strong>Fortran</strong><br />

size is a number greater than 4095 enclosed in parenthesis. It is the minimum variable size in<br />

bytes that will be placed on the heap. Variables smaller than size bytes are not placed on the<br />

heap.<br />

If size is omitted, it defaults to 4096.<br />

Use the -varheap option when creating programs that have large local arrays. If you notice<br />

that increasing the size of a local array causes a stack overflow, using -varheap may alleviate<br />

this condition.<br />

Note that the -varheap option does not apply to variables having the SAVE attribute, which<br />

includes initialized variables.<br />

-VERSION<br />

Display Version, Copyright and Registration Information<br />

Disables compile and link. Default: none<br />

The -version option causes the compiler version, copyright and registration information<br />

to be printed. Any other options specified on the command line are ignored.<br />

-[N]W<br />

Compiler Warnings<br />

Compile only. Default: -w<br />

Specify -nw to suppress compiler warning and informational messages.<br />

-WARN, -FULLWARN<br />

Linker Warnings<br />

Link only. Default: no warnings<br />

The linker detects conditions that can potentially cause run-time problems but are not necessarily<br />

errors. <strong>LF</strong> <strong>Fortran</strong> supports two warning levels: -warn, and -fullwarn.<br />

-warn enables basic linker warning messages.<br />

-fullwarn provides the maximum level of warning and informational messages.<br />

-[N]WIDE<br />

Extend width of fixed source code<br />

Compile only. Default: -nwide<br />

Using the -wide option causes the compiler to accept fixed form source code out to column<br />

255. The default is to accept code out to column 72<br />

-WIN or -WINCONSOLE<br />

Windows<br />

Compile and link. Default: -winconsole<br />

46 <strong>LF</strong> <strong>Fortran</strong> <strong>Express</strong> User’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!