Skip to content

Compilers in C++

There are three major compilers for C++:

  • GCC
  • LLVM
  • Microsoft Visual C++ (include with microsoft visual studio)
  • MinGW

They all provide compiler for C and C++.

GCC

  • to use gcc on linux you only have to install the gcc toolchain from your package manager
  • to use gcc on windows you have to install it through MinGW or through Cigwin or through WSL (in this case you are using linux.)

LLVM

  • install it's binary
  • for it to run you have to install gcc or visual studio too
  • becuase of some library dependecies

Visual Studio C++

  • install the community edition