6.1.3. CompilerToolchainIntegrationΒΆ

Compiler/Linker/Archiver Integration

This rulegroup is used to configure the compilation tools (compiler, linker, archiver/librarian) that are used to compile the C/C++ source code of the project.

The settings here determine how the cafeCC tool acts. Typically, cafeCC is configured to emulate the native compiler used to build your project. This then allows substituting cafeCC for the native compiler in the build system.

cafeCC expects that exactly one toolchain rule is enabled.

The different compiler profiles available here only differ in their default configuration.

Please note that you cannot configure rules below this rulegroup inside Python layers. This rulegroup only supports JSON configuration.

Nested Rules

CustomToolchains

Custom C/C++ compiler toolchain

BlackfinToolchains

Analog Devices Blackfin C/C++ compiler toolchain

ClangToolchains

Clang C/C++ compiler toolchain

CodevisionToolchains

CodeVision C compiler toolchain

CodewarriorToolchains

Freescale CodeWarrior C/C++ compiler toolchain

CosmicToolchains

Cosmic C compiler toolchain

GHSToolchains

Green Hills Software C/C++ compiler toolchain

GNUToolchains

GNU C/C++ compiler toolchain

IARToolchains

IAR Systems C/C++ compiler toolchain

IntelToolchains

Intel C/C++ compiler toolchain

KeilToolchains

KEIL C/C++ compiler toolchain

MicrochipToolchains

Microchip MPLAB C/C++ compiler toolchain

MicrosoftToolchains

Microsoft C/C++ compiler toolchain

RenesasToolchains

Renesas C/C++ compiler toolchain

TIToolchains

Texas Instruments CGT C/C++ compiler toolchain

TaskingToolchains

TASKING C/C++ compiler toolchain

WindriverToolchains

Wind River C/C++ compiler toolchain

Options

  • Setting an option for this rule means setting the default for all nested rules.

  • The following places define options that affect this rule: Project-GlobalOptions

  • This rule has no individual options.