-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ebmc: move compilation instructions into COMPILING.md
This moves, and elaborates, the compilation instructions from README.md to COMPILING.md.
- Loading branch information
Showing
3 changed files
with
35 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Compiling | ||
========= | ||
|
||
1. 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 patch | ||
``` | ||
On Red Hat/Fedora or derivates, do as root: | ||
``` | ||
dnf install gcc gcc-c++ flex bison curl patch | ||
``` | ||
Note 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 | ||
``` | ||
|
||
2. Initialize and update the CBMC submodule: | ||
``` | ||
git submodule init; git submodule update | ||
``` | ||
|
||
3. Download minisat: | ||
``` | ||
make -C lib/cbmc/src minisat2-download | ||
``` | ||
|
||
4. Build EBMC: | ||
``` | ||
make -C src | ||
``` | ||
This also builds the CBMC submodule. The binary will be in src/ebmc/ebmc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters