Step 3: Specify C/C++ Compiler Options

The C/C++ compiler options of the Software Build Settings Wizard allow you to specify the optimization level and goal, preprocessor definitions, include directories, and command-line options for a software toolset C/C++ compiler to use during a software build. The C/C++ compiler options also allow you to specify whether you want the C/C++ compiler to ignore standard include directories, generate debug information, or suppress warning during the software build.

To specify the options for the C/C++ compiler, follow these steps:

  1. In the Software Build Settings Wizard: C/C++ Compiler page 4a, specify the following responses to the wizard prompts:

  2. Wizard Prompt:
    Response:
    What level of optimization do you want? Make sure Low is selected.
    What is your optimization goal? Make sure Minimize size is selected.
    Do you want to include any preprocessor definitions when the C/C++ compiler is running? Make sure No is selected.
    Do you want the C/C++ compiler to search any additional directories for Include Files (.h)? Make sure No is selected.
    Select additional C/C++ compiler options Make sure Generate debug information is turned on and Suppress warnings is turned off.

    Show Me

  3. Click Next. Software Build Settings Wizard: Assembler [page 5 of 7] appears.


To continue the tutorial, proceed to Step 4: Specify Assembler Options.