Before setting up your toolchain preferences: please, make sure that all the below software packages have already been downloaded and installed. Refer to Install and set up for recent versions of packages and CLion Quick start guide for other details.
A family of Eclipse CDT extensions and tools for GNU ARM & RISC-V development. GNU MCU Eclipse A family of Eclipse CDT extensions and tools for GNU ARM & RISC-V development. Follow me on GitHub. How to install the ARM toolchain? Because the executables will not run on anything than bare metal, and do not try to use the Linaro. Jul 29, 2012 - I have found that I sometimes have to uncheck that checkbox at the bottom 'Show Project types and toolchains only if they are supported on the.
File | Settings | Build,Execution, Deployment | Toolchains
Use this page as the reference when creating your toolchain.
Toolchains list
Item | Description |
---|---|
Toolchains list and toolbar | Here you can create or delete a toolchain and modify an existing one: - use button to create a new toolchains configuration. - use this button to delete a selected toolchain. - use this button to navigate towards the top of the list. - use this buttons to navigate towards the bottom of the list. |
Toolchain name
Name | In this text field, specify the name for the toolchain which you are creating or editing. |
Environment (Windows)
Microsoft Visual C++ settings are available only when this compiler support is enabled. Refer to our tutorial for details.
Select the preferred environment from the drop down list:
Item | Description |
---|---|
Visual Studio | Choose this item to use Microsoft Visual C++ compiler. In the text field specify the path to the Microsoft Visual Studio home (for example, C:Program Files (x86)Microsoft Visual Studio 14.0 ). To do that, do one of the following:
|
MinGW | Choose this item to use MinGW. In the text field, specify the path to the MinGW home or use the one detected by CLion. |
Cygwin | Choose this item to use Cygwin. In the text field, specify the path to the Cygwin home or use the one detected by CLion. |
Download... | Click this link to download the tool currently selected in the drop down list. |
CMake
Item | Description |
---|---|
CMake | In this field specify the path to CMake home directory you would like to use: bundled or custom. |
Make | In this field specify the path to the desired Make installation or use the one detected by CMake. |
C Compiler | In this field specify the path to the desired C compiler or use the one detected by CMake. |
C++ compiler | In this field specify the path to the desired C++ compiler or use the one detected by CMake. |
Debugger
Item | Description |
---|---|
Debugger | You can switch between the bundled GDB and LLDB (only on macOS or Linux) or choose a custom GDB. Note: Custom LLDB is not currently supported. Note: On Cygwin and MinGW-64 CLion will use GDB that comes with those environments. |