Skip to content

C compilers

Pavel I. Kryukov edited this page Jun 11, 2022 · 6 revisions

MIPT-MIPS uses C++20 features, so you have to use one of these compilers or their newer versions:

  • GCC 11
  • Clang 13.0.0
  • Apple LLVM 13.1.6
  • MS Visual Studio 2019 16.8

Usually people use GCC and Ubuntu/Debian, and there is an instruction how to update GCC to GCC 7.

If you want to build with specific version of compiler, run use following syntax to call CMake:

CC=clang-10 CXX=clang++-10 cmake /path/to/mipt/mips/simulator/CMakeLists.txt
Clone this wiki locally