-l

Produces a compiler listing written to a specified or implied output file.

Syntax

-l ["filename"]

Parameter

filename
A string to be appended to the filename specified in %INCLUDE statements.

If this parameter is excluded, the -l option must appear on the command line immediately following the source file name. In this case, the default name of the file containing the listing is xxx.list (UNIX) or xxx.lst (Windows), where xxx is the source filename excluding the path, up to but not including the last dot (.), if any, in the name.

Dependencies

By default, a Compiler listing is produced by the following options:

  • -exp
  • -map
  • -xref

Example

For a source filename of prog.pl1, the default listing is prog.list on UNIX platforms, and prog.lst on Windows platforms.