Configuring a compiler toolchain for the DS-5 command prompt
When you want to compile or build from the DS-5 command prompt, you can select the compiler toolchain you want to use. You can set this as the default toolchain so that you do not need to select a toolchain every time you start the DS-5 command prompt.
NoteBy default, the DS-5 command prompt is not configured with a compiler toolchain.
On Linux, run
suite_exec with the --toolchain
name option to configure a compiler toolchain for
environment. Run suite_exec with no arguments for
the list of available toolchains.
For example, to use the Arm Compiler 5 toolchain included in DS-5, run:
DS-5_install_directory/bin/suite_exec --toolchain "ARM Compiler 5 (DS-5 built-in)" bash --norc
You can also run the command set_default_toolchain and follow the instructions to select the default compiler for the command prompt.
On Windows, to set a default compiler toolchain for the
command prompt, use the
The following procedure
describes the steps for using
select_default_toolchain on Windows.
- Open the DS-5 command prompt, by selecting Start > All Programs > DS-5 Command Prompt.
select_default_toolchainon the DS-5 command prompt. This lists the available compiler toolchains.
Figure 4-33 Configuring a default toolchain
Select your default compiler toolchain. For example, enter
1to select the Arm Compiler 5 that is built-in with DS-5. This configures the DS-5 command prompt for the selected toolchain. When you open a new DS-5 command prompt, the environment is still configured for your selected toolchain.
NoteTo configure a compiler toolchain for the current DS-5 command prompt, without changing the default toolchain, use the