How to set gcc-arm-none-eabi as toolchain in Eclipse
Posted: Wed May 01, 2019 2:07 pm
Hi,
I have a Ubuntu 18.04 system with JDK 1.7_80, arm cross compiler (gcc-arm-none-eabi-4_9-2015q3), eclipse Juno and Erika 2.80 installed.
I can start eclipse and create a project from the STM32F4 templates.
However, when I try to build the project it fails with:
** Compiler not found. Provided path is 'C:\gnu\ARM'. Stop.
I looked into the project Makefile and found the $(eval$(call check_and_set_linux_compiler_path test at line 107. I changed the returned compiler value to:
~/gcc/gcc-arm-none-eabi-4_9-2015q3
Saved and re-built but I still got an error, this time pointing to the new path I had provided.
I then changed the line to point to the compiler executable, saved and re-built and still got the same error.
Where/how do I tell eclipse/my project to use the gcc cross compiler installed in ~/gcc/gcc-arm-none-eabi-4_9-2015q3?
TIA,
I have a Ubuntu 18.04 system with JDK 1.7_80, arm cross compiler (gcc-arm-none-eabi-4_9-2015q3), eclipse Juno and Erika 2.80 installed.
I can start eclipse and create a project from the STM32F4 templates.
However, when I try to build the project it fails with:
** Compiler not found. Provided path is 'C:\gnu\ARM'. Stop.
I looked into the project Makefile and found the $(eval$(call check_and_set_linux_compiler_path test at line 107. I changed the returned compiler value to:
~/gcc/gcc-arm-none-eabi-4_9-2015q3
Saved and re-built but I still got an error, this time pointing to the new path I had provided.
I then changed the line to point to the compiler executable, saved and re-built and still got the same error.
Where/how do I tell eclipse/my project to use the gcc cross compiler installed in ~/gcc/gcc-arm-none-eabi-4_9-2015q3?
TIA,