Issue with 1.12.0 for macOS and not being able to find arm-none-eabi-gcc
I was having some problems getting a CubeMX program to compile, which ended up being missing double quotes on packed and weak but that has been reported to ST.
Anyway, in trying to fix THAT problem, I updated to 1.12.0, got around ST’s issue and ended up with another issue where Eclipse would fail to compile my code with:
/bin/sh: arm-none-eabi-gcc: command not found
make: *** Src/gpio.o Error 127
After digging around I found that the PATH variable had been set to:
/Applications/Eclipse.app/Contents/Eclipse/plugins/fr.ac6.mcu.externaltools.arm-none.macos64_1.12.0.201611241417/tools/compiler/bin
and the compiler collection is actually stored in:
/Applications/Eclipse.app/Contents/Eclipse/plugins/fr.ac6.mcu.externaltools.arm-none.macos64_1.12.0.201611241417/tools/compiler/gcc-arm-none-eabi-5_4-2016q2/bin
After adjusting the PATH variable, my code compiles.
Please let me know if this is a problem on ST’s side and I’ll report it there, but the variable doesn’t show up in the .cproject file.
Hope this helps,
Andrei from The Great White North
(as seen on the embedded.fm podcast and blog)