-
Notifications
You must be signed in to change notification settings - Fork 69
Install the Prerequisites
Marko edited this page Jan 12, 2020
·
26 revisions
This is part of the Getting Started guide. Please read the full guide if you have trouble.
You will need the following tools:
You will find platform specific instructions to install these below.
Make sure to install the Windows Subsystem for Linux.
If you haven't installed it yet, you can follow Microsoft's guide.
For installation instructions, refer to the instructions for Linux for the respective distribution.
Install MSYS2.
In an MSYS2 shell, run:
pacman -S make cmake git bison flex mingw-w64-x86_64-gcc mingw-w64-x86_64-llvm mingw-w64-x86_64-clang mingw-w64-x86_64-lld
Note: Using a regular MSYS2 shell will fail later on as the required building system is not supported there.
You can install the prerequisites with Homebrew, this should do the job (Xcode ships with make
, bison
and flex
):
brew install llvm cmake
sudo apt install build-essential cmake flex bison clang lld git
Note: On older versions of Ubuntu, you may need to install lld via a LLVM nightly package instead.
sudo apt install build-essential cmake flex bison clang llvm lld git
sudo zypper install make cmake clang bison flex lld git llvm-devel