📜  什么是 g++ 和 gcc - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:58.926000             🧑  作者: Mango

代码示例1
GCC stands for GNU Compiler Collections which is used to compile mainly 
C and C++ language. It can also be used to compile Objective C and Objective 
C++. The most important option required while compiling a source code file is 
the name of the source program, rest every argument is optional like a 
warning, debugging, linking libraries, object file, etc. The different
options of GCC command allow the user to stop the compilation process at 
different stages.

g++ command is a GNU c++ compiler invocation command, which is used 
for preprocessing, compilation, assembly and linking of source code to
generate an executable file. The different “options” of g++ command allow 
us to stop this process at the intermediate stage.