Set up toolchain
This section contains the steps to install the necessary components required to build and run a MCUXpresso SDK demo application with the Arm GCC toolchain, as supported by the MCUXpresso SDK.
Install GCC Arm embedded tool chain
Download and run the installer from launchpad.net/gcc-arm-embedded. This is the actual toolset (in other words, compiler, linker, and so on). The GCC toolchain should correspond to the latest supported version, as described in the MCUXpresso SDK Release Notes (document MCUXSDKRN).
Note: See Host setup for Linux OS before compiling the application.
Parent topic:Set up toolchain
Add a new system environment variable for ARMGCC_DIR
Create a new system environment variable and name it ARMGCC_DIR
. The value of this variable should point to the Arm GCC Embedded tool chain installation path. For this example, the path is:
$ export ARMGCC_DIR=/work/platforms/tmp/gcc-arm-none-eabi-8-2018-q4-major
$ export PATH= $PATH:/work/platforms/tmp/gcc-arm-none-eabi-8-2018-q4-major/bin
Parent topic:Set up toolchain
Parent topic:Linux OS host