Download TR0131 ARM Embedded Tools Reference

Transcript
ARM Embedded Tools Reference
Control Program: −−list−files
Command line syntax
−−list−files[=name]
Description
With this option you tell the assembler via the control programma to generate a list file for each specified input file. A list file
shows the generated object code and the relative addresses. Note that the assembler generates a relocatable object file with
relative addresses.
With name you can specify a name for the list file. This is only possible if you specify only one input file to the control
program. If you do not specify name, or you specify more than one input files, the control program names the generated list
file(s) after the specified input file(s) with extension .lst.
Example
This example generates the list files 1.lst and 2.lst for 1.c and 2.c. If in this example also a name had been specified, it
would be ignored because two input files are specified.
ccarm 1.c 2.c −−list−files
Related information
Assembler option −−list−file (Generate list file)
Assembler option −−list−format (List file formatting options)
5−146