2.1 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 the DS-5 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,
--toolchain "ARM Compiler 5 (DS-5 built-in)" bash --norc
On Windows, to set a default compiler toolchain for the DS-5 command
prompt, use the
The following procedure describes the steps for using
Open the DS-5 command prompt, by selecting
select_default_toolchain on the DS-5
command prompt. This lists the available compiler toolchains.
Figure 2-1 Configuring a default toolchain
Select your default compiler toolchain. For example, enter
1 to 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