Build a project of C code


#1

Dev c++ can make a bunch of .c codes & .h code in the same project, and compile the .c code with “int main” in it to run the whole project. But in atom, I can only find to use “gcc-make-run” to compile a .c code each time. Therefore, I can’t compile a whole project together, and it may somehow show the error “Implicit declaration”. But it works in dev c++.


Can anyone helps?


#2

The problem is that the compiler is compiling to a temporary folder, but I can’t find any way to stop that (or any indication that the package is telling the compiler to do it). I know that gpp-compiler has a setting for that, but gcc-make-run doesn’t. Are you sure you haven’t changed anything in your package settings?