The Cross Settings page displays the build configuration settings that apply to multiple or all tools in the toolchain.
The following table describes the cross settings available for application projects.
| Setting | Description |
|---|---|
| Prefix | The toolchain prefix used to resolve names of the called tool.
Default: arm-none-eabi-, aarch64-none-elf- or aarch64-linux-gnu-. |
| Path | The location of the toolchain. Options:
Note: The build variables used in paths are available in the
Preferences dialog box (section , the Show system variables option
enabled).
|
| Suffix | The toolchain suffix used to resolve names of the called tool. Blank by default. |
| C compiler | The C compiler executable. Default: gcc. The full name is resolved by adding the toolchain prefix. |
| C++ compiler | The C++ compiler executable. Default: g++. The full name is resolved by adding the toolchain prefix. |
| Hex/Bin converter | The HEX/BIN converter tool that copies and translates object files.
Default: objcopy. This tool is used by the Standard S32DS Create Flash Image virtual tool. |
| Listing generator | The tool that displays information about object files. Default: objdump. This tool is used by the Standard S32DS Disassembler and Standard S32DS Create Listing virtual tools. |
| Size command | The tool that calculates (in bytes) the size of text, data and
uninitialized sections in the ELF file, and their total. Default: size. |
| Build command | The tool that automatically builds executable programs and libraries
from the project source code. Default: make. |
| Remove command | The tool and command parameters to remove the built executable
programs, libraries, and object files. Default: rm -rf. |
| Create flash image | Select to enable the creation of a flash image at build time. The flash image is created from the built ELF file by the tool specified in the Hex/Bin converter setting. The <project_name>.srec file appears in the Project Explorer in the project's Debug folder. The SREC file includes binary code in Motorola SREC text format that represents binary data as a hexadecimal text in ASCII format. You can flash this file to the target MCU. Enabling this option shows the Standard S32DS Create Flash Image tool in the list of tools. |
| Create extended listing | Select to enable the creation of extended listing at build time.
The file is generated at build time by the tool specified in the Listing generator setting. The <project_name>.lst file appears in the Project Explorer in the project's Debug folder. The LST file contains the disassembly of the built ELF file and gives a bit more details on functions than the Standard S32DS Disassembler. Enabling this option shows the Standard S32DS Create Listing tool in the list of tools. |
| Print size | Select to call the size tool after the project is built. The tool outputs details to the Console view. |
The following table describes the cross settings available for library projects.
| Setting | Description |
|---|---|
| Prefix | The prefix used to call the tools. Default: arm-none-eabi-, aarch64-none-elf- or aarch64-linux-gnu-. |
| Path | The location of the toolchain. Options:
|
| Suffix | The suffix used to call the tools. Blank by default. |
| C compiler | The C compiler executable. Default: gcc. The full name is resolved by adding the prefix. |
| C++ compiler | The C++ compiler executable. Default: g++. The full name is resolved by adding the prefix. |
| Archiver | The archiver tool. Default: ar. After you build a static library, the tool automatically archives the object file. The archive file appears in the Project Explorer in the project's Archives folder. |
| Build command | The tool that automatically builds executable programs and libraries
from the project source code. Default: make. |
| Remove command | The tool and command parameters to remove built executable programs,
libraries, and object files. Default: rm -rf. |