You are still using wrong version of GCC. The build system uses the toolchain with the prefix arm-none-eabi-, so the compiler executable is named arm-none-eabi-gcc, not just gcc. Setup instructions here: GNU ARM embedded toolchain - Knowledge Base - Zubax Knowledge Base