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

**URL:** <https://forums.sifive.com/t/freedomstudio-new-c-project-cant-find-gcc-when-compiling/3165>\
**Category:** General\
**Created:** [December 20, 2019, 12:42pm UTC](https://forums.sifive.com/t/freedomstudio-new-c-project-cant-find-gcc-when-compiling/3165 "2019-12-20T12:42:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdeM](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@AdeM](https://forums.sifive.com/u/AdeM)\
**Post date:** [December 20, 2019, 12:42pm UTC](https://forums.sifive.com/t/freedomstudio-new-c-project-cant-find-gcc-when-compiling/3165/1 "2019-12-20T12:42:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cgsfv](https://avatars.discourse-cdn.com/v4/letter/c/58956e/32.png) [@cgsfv](https://forums.sifive.com/u/cgsfv)\
**Post date:** [December 20, 2019, 7:34pm UTC](https://forums.sifive.com/t/freedomstudio-new-c-project-cant-find-gcc-when-compiling/3165/2 "2019-12-20T19:34:42Z")

</div>

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.
