Skip to content

unzip is needed on Debian, plus say how to build jbmc on Windows #2496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
To compile JBMC, you additionally need the JDK and the java-models-library.
For the JDK, on Debian-like distributions, do as root:
```
apt-get install openjdk-8-jdk
apt-get install unzip openjdk-8-jdk
```
On Red Hat/Fedora or derivates, do as root:
```
dnf install java-1.8.0-openjdk-devel
dnf install unzip java-1.8.0-openjdk-devel
```

2. As a user, get the CBMC source via
Expand Down Expand Up @@ -180,11 +180,16 @@ Follow these instructions:
have to adjust the section in `src/common` that defines `CC` and `CXX`
for BUILD_ENV = Cygwin.
Then start the Cygwin shell.
4. In the Cygwin shell, type
4. To compile CMBC, open the Cygwin shell and type
```
make -C src DOWNLOADER=wget minisat2-download
make -C src
```
5. To compile JMBC, open the Cygwin shell and type
```
make -C jbmc/src java-models-library-download
make -C jbmc/src
```

(Optional) A Visual Studio project file can be generated with the script
"generate_vcxproj" that is in the subdirectory "scripts". The project file is
Expand Down