-
You need a C/C++ compiler, Flex and Bison, and GNU make. The GNU Make needs to be version 3.81 or higher. On Debian-like distributions, including Ubuntu, do as root:
apt-get install g++ gcc flex bison make git curl patchOn Red Hat/Fedora or derivates, do as root:
dnf install gcc gcc-c++ flex bison curl patchNote that you need g++ version 7.0 or newer.
On Amazon Linux and similar distributions, do as root:
yum install gcc72-c++ flex bison curl patch tar -
Initialize and update the CBMC submodule:
git submodule init; git submodule update -
Download minisat:
make -C lib/cbmc/src minisat2-download -
Build EBMC:
make -C srcThis also builds the CBMC submodule. The binary will be in src/ebmc/ebmc.