@@ -28,6 +28,17 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
28
28
yum install gcc gcc-c++ flex bison perl-libwww-perl patch devtoolset-6 java-1.7.0-openjdk-devel
29
29
```
30
30
Note that you need g++ version 4.9 or newer.
31
+
32
+ To compile JBMC, you additionally need the JDK:
33
+ On Debian-like distributions, do
34
+ ```
35
+ apt-get install openjdk-7-jdk
36
+ ```
37
+ On Red Hat/Fedora or derivates, do
38
+ ```
39
+ yum install java-1.7.0-openjdk-devel
40
+ ```
41
+
31
42
2 . As a user, get the CBMC source via
32
43
```
33
44
git clone https://github.com/diffblue/cbmc cbmc-git
@@ -93,7 +104,11 @@ We assume that you have a Debian/Ubuntu or Red Hat-like distribution.
93
104
```
94
105
pkg install bash gmake git www/p5-libwww patch flex bison openjdk
95
106
```
96
- 2 . As a user, get the CBMC source via
107
+ To compile JBMC, additionally install
108
+ ```
109
+ pkg install openjdk
110
+ ```
111
+ 2 . As a user, get the CBMC source via
97
112
```
98
113
git clone https://github.com/diffblue/cbmc cbmc-git
99
114
```
@@ -183,14 +198,14 @@ require manual modification of build files.
183
198
1. Ensure you have all the build dependencies installed. Build dependencies are
184
199
the same as for the makefile build, but with the addition of CMake version
185
200
3.2 or higher. The installed CMake version can be queried with `cmake
186
- --version`. To install all build dependencies :
201
+ --version`. To install cmake :
187
202
- On Debian-like distributions, do
188
203
```
189
- apt-get install cmake g++ gcc flex bison make git libwww-perl patch openjdk-7-jdk
204
+ apt-get install cmake
190
205
```
191
206
- On Red Hat/Fedora or derivates, do
192
207
```
193
- yum install cmake gcc gcc-c++ flex bison perl-libwww-perl patch devtoolset-6 java-1.7.0-openjdk-devel
208
+ yum install cmake
194
209
```
195
210
- On macOS, do
196
211
```
0 commit comments