Skip to content

C compilers

Pavel I. Kryukov edited this page May 17, 2019 · 6 revisions

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

  • GCC 7
  • Clang 5.0
  • Apple LLVM 10.0.0
  • MS Visual Studio 2017 (also requires Boost 1.66 and CMake 3.10.2 are required)

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-5.0 CXX=clang++-5.0 cmake /path/to/mipt/mips/simulator/CMakeLists.txt
Clone this wiki locally