User manual
UM0036 Project creation and build
Doc ID 7705 Rev 11 99/385
Listings
The Listing settings allow you to generate a listing file and log errors to a file.
Listings are also used in generating jump tables when you optimize your code (see
Customizing Cosmic C compiler optimizations on page 101.
General, the standard Listing options are:
● None: Removes the -l option from the command line so no listing is generated.
● C and Assembly: Adds the -l option to the command line to generate a listing with
the filename application.ls.
● Customize: Allows you to choose the options that you want for generation of debug
information. These options are summarized in Customizing Cosmic C compiler listings
on page 104.
Preprocessor definitions
This field allows you to enter user specified preprocessor definitions. By changing the
category to Preprocessor Definitions, you also have access to a field for defining
additional include libraries. See Customizing Cosmic C compiler preprocessor definitions on
page 105.
User-defined options
This field allows you to enter the command for an option that you have defined for the
Cosmic C compiler. The options that you type in these fields are immediately added to the
command line below. For more information on creating user defined options, refer to the C
Cross Compiler User’s Guide.
Customizing Cosmic C compiler debug information settings
To further customize the debug information, select Customize in the Debug Information
list box. Alternatively, from the Category list box, select Debug Info.
The view in the C Compiler tab changes to that shown in Figure 65.