Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

list

Tells the compiler to create a listing of the source file.

Syntax

Linux:

-list[=filename]

-no-list

Windows:

/list[:filename]

/list-

Arguments

filename

Is the name of the file for output. It can include a path.

Default

-no-list or /list-

No listing is created for the source file.

Description

This option tells the compiler to create a listing of the source file. The listing contains the following:

  • The contents of files included with INCLUDE statements

  • A symbol list with a line number cross-reference for each routine

  • A list of compiler options used for the current compilation

The contents of the listing can be controlled by specifying option show.

The line length of the listing can be specified by using option list-line-len.

The page length of the listing can be specified by using option list-page-len.

If you do not specify filename, the output is written to a file in the same directory as the source. The file name is the name of the source file with an extension of .lst.

IDE Equivalent

Visual Studio: Output Files > Source Listing (/list)

Output Files > Source Listing File (/list:[filename])

Alternate Options

None

See Also