2.16 Registering a compiler toolchain from the DS-5 command prompt
Use the add_toolchain utility from the DS-5 command prompt to register a new toolchain.
To register a toolchain using the DS-5 command prompt:
path is the directory containing the toolchain binaries. The
utility automatically detects the toolchain properties.
Figure 2-21 Registering a new toolchain
The utility prompts whether you want to register the toolchain with the
details it has detected. If you want to change the details, the utility prompts
for the details of the toolchain.
- The toolchain type must be one of ARM Compiler 4, ARM Compiler 5, ARM
Compiler 6, or GCC.
- The toolchain target only applies to GCC toolchains. It indicates what
target platform the GCC toolchain builds for. For example, if your
compiler toolchain binary is named
arm-linux-gnueabihf-gcc, then the target name is the
target field allows DS-5 to distinguish different toolchains that
otherwise have the same version.
Figure 2-22 Registering a new toolchain
You must manually enter the toolchain properties if:
- The toolchain properties were not autodetected.
- The type, major version, and minor version of the
new toolchain are identical to a toolchain that DS-5 already knows
After you register a new toolchain, you must restart DS-5 before you can use
the toolchain in the DS-5 environment.
When you create a new project, DS-5 shows the new toolchain in the available list of
toolchains. In this example, ARMCCv5.01 is the newly
Figure 2-23 Using a new toolchain for a new project
For an existing project, if you want to change the toolchain to the newly registered
toolchain, use the Tool Chain Editor dialog.
- Right-click the project and select Properties to
show the Properties dialog.
Figure 2-24 Changing the toolchain for a project