Page 1 of 1
Codelite and C language compiling?
Posted: Wed Jan 06, 2016 3:18 am
by Andrevoce
I am new to Codelite and programming in general. I just installed Codelite on my computer. I am trying to create a new workspace compliing in the C language, but when I click create new workspace, all I get is C++, node.js and PHP. What happened to the C language? Did I miss a step somewhere when I downloaded the program? Thanks for all your help. Andrew
Re: Codelite and C language compiling?
Posted: Wed Jan 06, 2016 2:13 pm
by DavidGH
Hi,
Did I miss a step somewhere when I downloaded the program?
No, all is well. Just create a C++ workspace. Then, when you add a project to it (Workspace > New Project) select a gcc one instead of g++.
Regards,
David
Re: Codelite and C language compiling?
Posted: Wed Jan 06, 2016 4:03 pm
by eranif
To add to what David wrote, you can also use g++ but make sure that the files that you create have the extension ".c" and not ".cpp" this will make sure that even though you chose g++, gcc is invoked instead
Eran