Skip to content

Commit ffbb83f

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#2496 from diffblue/compilation-instructions2
unzip is needed on Debian, plus say how to build jbmc on Windows
2 parents 6fd77f4 + 594c2f2 commit ffbb83f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

COMPILING.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
3232
To compile JBMC, you additionally need the JDK and the java-models-library.
3333
For the JDK, on Debian-like distributions, do as root:
3434
```
35-
apt-get install openjdk-8-jdk
35+
apt-get install unzip openjdk-8-jdk
3636
```
3737
On Red Hat/Fedora or derivates, do as root:
3838
```
39-
dnf install java-1.8.0-openjdk-devel
39+
dnf install unzip java-1.8.0-openjdk-devel
4040
```
4141

4242
2. As a user, get the CBMC source via
@@ -180,11 +180,16 @@ Follow these instructions:
180180
have to adjust the section in `src/common` that defines `CC` and `CXX`
181181
for BUILD_ENV = Cygwin.
182182
Then start the Cygwin shell.
183-
4. In the Cygwin shell, type
183+
4. To compile CMBC, open the Cygwin shell and type
184184
```
185185
make -C src DOWNLOADER=wget minisat2-download
186186
make -C src
187187
```
188+
5. To compile JMBC, open the Cygwin shell and type
189+
```
190+
make -C jbmc/src java-models-library-download
191+
make -C jbmc/src
192+
```
188193
189194
(Optional) A Visual Studio project file can be generated with the script
190195
"generate_vcxproj" that is in the subdirectory "scripts". The project file is

0 commit comments

Comments
 (0)