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.
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 />
ival is one of the characters of the set [YyNn], where Y and y indicate that include files should<br />
be included in the listing and N and n indicate that they should not. By default, include files<br />
are not included in the listing.<br />
Example<br />
<strong>LF</strong>95 myprog -lst (i=y)<br />
creates the listing file myprog.lst, which lists primary and included source. Note that<br />
-xref overrides -lst.<br />
See also<br />
“-[N]XREF [(f=fval[,i=ival])]”<br />
-[NO]MAP filename<br />
Change map file name<br />
Link only. Default: create a map file with same name as output file<br />
The -MAP option is used to specify a name for the linker map file. The linker map file is a<br />
text file describing the output load image. The map file contains the following information:<br />
• names of the input object files,<br />
• a list of the segments comprising the program, and<br />
• a list of the public symbols in the program.<br />
By default, the linker produces a map file each time a program is linked. The default name<br />
of the map file is the name of the output file, with its extension changed to .MAP. Any path<br />
information specifying a directory where the output file is to be placed also applies to the map<br />
file.<br />
The -MAP option renames or relocates the map file. The option takes a single argument,<br />
which is the path and name of the map file to be produced. If no path information is specified<br />
in the map file name, then it is placed in the current directory.<br />
The linker can be prevented from producing a map file with the -NOMAP option. The option<br />
takes no arguments. The -NOMAP option is useful to make the linker run faster, since no time<br />
is spent writing a map file. The option is also a good way to save disk space, because map<br />
files can be quite large.<br />
Examples<br />
<strong>LF</strong>95 moe.obj larry.obj curly.obj -map stooges.nuk<br />
<strong>LF</strong>95 hello.obj -nomap<br />
-[N]MAXFATALS number<br />
Maximum Number of Fatal Errors<br />
Compile only. Default: -maxfatals 50<br />
Specify -maxfatals to limit the number of fatal errors <strong>LF</strong> <strong>Fortran</strong> will generate before<br />
aborting. If no argument is specified, the driver will abort with an error message.<br />
If -nmaxfatals is specified, no argument is allowed.<br />
38 <strong>LF</strong> <strong>Fortran</strong> <strong>Express</strong> User’s <strong>Guide</strong>