Command
Explanation
GCC (GNU Compiler Collection) is used to compile C and C++ programs.
Examples
Compile C program
Compile with warnings and debug info
Compile C++ program
link
GCC (GNU Compiler Collection) is used to compile C and C++ programs.
Compile C program
Compile with warnings and debug info
Compile C++ program