C / C ++ compiler tool Project Description

Based on the need for a C family of languages ​​compile the project, the developer's perspective to generate solutions, each compiler tools required during a brief explanation of the term.

GCC | LLVM compiler to provide <- GNU Make compiled based on the profile <- Autoconf | CMake automatically generated configuration file is compiled by

Note: all kinds of collections and tools mentioned above can do is not just limited to this.

GCC | LLVM

GCCAnd LLVMare two of our most frequently used tool chain when compiling C system project.
GCCStands for GNU Compiler Collection, the GNU Compiler Collection;
LLVMfull name is LLVM (the very beginning as the Low Level Virtual Machine acronym, now the meaning has changed), now is as LLVM compiler and tool chain collection a general term.

gcc, Stands for GNU C Compiler, is the GCC C compiler;
g++full name GNU C ++ Compiler, GCC is the C ++ compiler.

ClangIs C compilers and tools based LLVM front end of the collection chain. Clang is compatible with GCC, Clang time appeared later than the GCC, GCC, Clang compiler is faster, more user-friendly compared to the error.

GNU Make

When the number of source files of many projects, the structure is very complicated, just use the compiler to compile the project, would be a very complicated matter, citing the header file directory, the introduction of the source file, the introduction of third-party static libraries will be very dynamic library cumbersome.

GNU MakeIntermediate can be generated object files and executable files required for the project based on the compiler to provide the foregoing, the selection item in the appropriate source file. By writing a developer named makefileto guide the document GNU Makeprocessing compile.

Autoconf | CMake

AutoconfIs m4extended package macro process, it can generate a script, the script can be generated automatically compiled with the profile. AutoconfAnd Automakea pair.

CMake Is an open source software developers by writing to the platform and compiler independent configuration files, to guide the project compilation process.

Autoconf in more concepts involved, the more complicated steps to generate the script, CMake is more simple in use.

Reference links

LLVM
GCC,the GNU Compiler Collection
GNU Make
diff between gcc and g++
Programming Languages Supported by GCC
Clang
CMake
Autoconf

Guess you like

Origin www.cnblogs.com/tangyikejun/p/12078556.html