Standard S32DS Assembler

The Standard S32DS Assembler page displays the build configuration settings that apply to the GNU assembler tool.

Table 1. Application and Library Project Properties: Standard S32DS Assembler
Setting Description
Command The command pattern for the ${COMMAND} variable. This variable is used in the Command line pattern field (below).

Default: ${cross_prefix}${cross_c}${cross_suffix}

The pattern uses the build variables specified on the Cross Settings page.

All options This read-only field shows all flags specified on all pages of the assembler tool settings. The assembler will be called with these flags at build time.
Command line pattern The command line pattern to call the assembler tool.

Default:

${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}

General

The General page specifies the general properties used by the Standard S32DS assembler tool.

Table 2. Application and Library Project Properties: Standard S32DS Assembler > General
Setting Description
Assembler flags Additional command line options supported by the GNU assembler and not otherwise available on this page. Consult the GNU documentation at GNU Binutils.

Default flags: -c (runs the assembler without linking).

Include paths (-I) The prioritized list of paths for include files lookup.

Default: "${ProjDirPath}/include" for applications; no path for libraries.

Suppress warnings (-W) This option suppresses output of assembler-generated warning messages to the console.
Announce version (-v) This option enables the assembler tool to show extended information about the assembly progress, including the GCC version, variables being used, and informational messages returned while assembling the code.

Preprocessor

The Preprocessor page configures the assembly preprocessor that is run on each S file before assembling it.

Table 3. Application and Library Project Properties: Standard S32DS Assembler > Preprocessor
Setting Description
Use preprocessor This option enables the preprocessor.
Do not search system directories (-nostdinc) This option configures the preprocessor to not search the system locations for header files. Only the locations specified on the General page will be searched.
Preprocess only (-E) This option tells the preprocessor to handle source files and stop. The compiler will not be run.
Note: Enabling this option will cause the linker to throw an error at build time. This happens because the linker expects an object file which is not created because no compilation is done.
Defined symbols (-D) The prioritized list of substitution strings that the assembler applies to all assembly-language modules in the build target.
Note: The -D token is added automatically to each string that you enter. For example, entering “opt1 x” results in the “-Dopt1 x” list entry.
Undefined symbols (-U) The list of the built-in assembler symbols to be suppressed.

Debugging

The Debugging page specifies the debugging options used by the Standard S32DS Assembler tool.

Table 4. Application and Library Project Properties: Standard S32DS Assembler > Debugging
Setting Description
Debug Level The debugging level assigned to the assembler. Options:
  • None: Disables output of debugging information to the build artifact.
  • Minimal ( -g1): Enables the generation of minimum debugging information. This includes descriptions of functions and external variables and line number tables, but no information about local variables.
  • Default ( -g): Enables the generation of DWARF 1.x conforming debugging information.
  • Maximum ( -g3): Enables the generation of extra debugging information for the compiler to provide maximum debugging support.
Other debugging flags Additional debugging flags supported by the GNU assembler and not otherwise available on this page.