list

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

IDE Equivalent

Windows: Output Files > Source Listing (/list)

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

Linux: None

Mac OS X: None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-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 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.

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.