User manual

Project creation and build UM0036
142/385 Doc ID 7705 Rev 11
Figure 94. Metrowerks C compiler listing view
In this view, you choose from the listing options summarized in Tabl e 51.
Table 51. Metrowerks C compiler listing options
Option
(1)
1. For complete descriptions of optimization options, refer to the STMicroelectronics ST7 Compiler user
manual from Metrowerks.
Description
Generate Assembler
Include Files (-La)
This option causes the compiler to generate an assembler include file
when a pragma CREATE_ASM_LISTING occurs.
The default output is
filename.pre.
List all #define (-Ldf)
This option allows you to list all #defines in the compiled source files.
The output is predef.h
.
List all #include Files in
Make Format (-Lm)
This option creates a listing of #include files specified by the source to
aid you in the creation of a makefile. The output is make.txt.
Statistics about each
function (-Ll)
This option generates a fie with the following statistics for procedure in
the compiled file: code size in bytes, stack usage in bytes and
compilation time. The output is logfile.txt
.