Short for GNU Compiler Collection, GCC is a collection of programming compilers including C, C++, Objective-C, Fortran, Java, and Ada. Once installed, a basic C file, like the one shown on our C language overview, can be compiled by running the below command.
gcc -o test test.c
In the above example, the GCC compiler uses test as the output file and test.c as the C file and would create the file test.exe.
- A Windows version of GCC can be found at: http://www.mingw.org/
- The official GCC page can be found at: https://gcc.gnu.org/