FreedomStudio New C Project - can't find gcc when compiling


(AdeM) #1

I’ve created a very simple C Project using File->New->C Project. It has just one file that does a printf. On Building I get this error:

Invoking: SiFive GNU C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"RunFunction.d" -MT"RunFunction.o" -o “RunFunction.o” “…/RunFunction.c”
/bin/sh: gcc: command not found

How do I get it to use the gcc compiler ? My installation is the latest one Version: 4.12.0.2019-08-2


(Carsten Gosvig) #2

You need to use “File->New->Freedom E SDK Software Project” instead, as this is the only way to create new C projects in Freedom Studio.