C++ Compilers C++ Compilers C++ Compilers
The de-facto standard in the Linux world.
Ubuntu / Windows + WSL
$ sudo apt install -y g++
$ sudo apt install -y build-essential
Windows without WSL
- WinLibs Project (recommended)
- MinGW Project (outdated as of 2021)
- STL's MinGW distro
- Dev-C++ comes with a bundled gcc (probably the easiest option for complete beginners)
Mac OS X
$ brew install gcc
iOS (with iSH)
$ apk add g++
Others
Web Compilers
Compiler Explorer
- lets you run code through many different compilers
- shows nicely annotated assembly output
- lots of compilers with lots of different versions, also with experimental features
- supports several popular libraries (ranges, {fmt}, …)
- great text editor with multiple cursors, VIM mode, dark mode, …
- code round-trip between Compiler Explorer, C++ Insights and Quick Bench possible
- gcc
- clang
- C++03 - C++2a
- Boost
- gcc
- gcc 4.9
- Boost 1.55
- C++03 - 14
- C++14
Comments…