Compiling and Building
suggest changeIntroduction
Programs written in C++ need to be compiled before they can be run. There is a large variety of compilers available depending on your operating system.
Remarks
Most operating systems ship without a compiler, and they have to be installed later. Some common compilers choices are:
- GCC, the GNU Compiler Collection [tag:g++]
- clang: a C language family frontend for LLVM [tag:clang++]
- MSVC, Microsoft Visual C++ (included in Visual Studio) [tag:visual-c++]
- C++Builder, Embarcadero C++Builder (included in RAD Studio) [tag:c++builder]
Please consult the appropriate compiler manual, on how to compile a C++ program.
Another option to use a specific compiler with its own specific build system, it is possible to let generic build systems configure the project for a specific compiler or for the default installed one.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents