Project Settings
10-13
Table 10.1
Compiler/Assembler Options
Option (Command Line Equivalent)
Description
Produce debugging information (-g)
This option instructs the compiler to produces debug-
ging information for source-level debugging.
Print stages of compilation (-v)
This option instructs the compiler to print the com-
mands executed in stages of compilation, and to print
the version number of the tools before compilation.
Optimization (-O number)
This option instructs the compiler to produce opti-
mized code. Select optimization level 0-3. See the
compiler section of this document for more details
regarding optimization levels and the impact of optimi-
zaton on debugging capabilities.
No assembly optimization (-mno_sdopt)
This option supresses back-end optimization that is
otherwise automatically performed on compiler-gener-
ated assembly code.
Use Long calls (-mlong_call)
This option will tell the compiler to use register-based
calls (long calls). These calls can be optimized where
possible if back-end optimization is enabled.
Use Large Data Model (-mlarge_data)
The large data model has no requirements on the size
or placement of the data and bss sections.
Additional compiler options Text Box (option)
This option specifies any compiler options that do not
have a check box in the Compiler/Assembler options
tab. Separate multiple options with spaces.
Output
Options
Create object files (-c)
This option instructs the compiler to compile and
assemble the source files and produces object file(s)
only (no linking is performed).
Create assembly files (-s)
This option instructs the compiler to stop after compi-
lation and produces assembly code files for each C
source file specified.
Preprocess files (-E)
This option stops compilation after the preprocessing
stage and redirects the preprocessed output to stan-
dard output.
Create executable (-o)
This option instructs the compiler to compile all
sources and link objects into the executable file spec-
ified in the Executable File Name entry.
Executable File Name
Specify the name of the executable file you want here.