@@ -137,7 +137,8 @@ We recommend Visual Studio.
137
137
Follow these instructions:
138
138
139
139
1 . First install Cygwin, then from the Cygwin setup facility install the
140
- following packages: ` flex, bison, tar, gzip, git, make, wget, patch ` .
140
+ following packages: `flex, bison, tar, gzip, git, make, wget, patch,
141
+ libwww-perl`.
141
142
2 . Get the CBMC source via
142
143
```
143
144
git clone https://github.com/diffblue/cbmc cbmc-git
@@ -176,6 +177,8 @@ using "make generated_files" before opening the project.
176
177
There is an experimental build based on CMake instead of hand-written
177
178
makefiles. It should work on a wider variety of systems than the standard
178
179
makefile build, and can integrate better with IDEs and static-analysis tools.
180
+ On Windows, the CMake build does not depend on Cygwin or MinGW, and doesn't
181
+ require manual modification of build files.
179
182
180
183
1. Ensure you have all the build dependencies installed. Build dependencies are
181
184
the same as for the makefile build, but with the addition of CMake version
@@ -195,9 +198,15 @@ makefile build, and can integrate better with IDEs and static-analysis tools.
195
198
```
196
199
You shoud also install [Homebrew](https://brew.sh), after which you can
197
200
run `brew install cmake` to install CMake.
198
- - On Windows, install Cygwin, then from the Cygwin setup facility install
199
- `cmake`, `flex`, `bison`, `tar`, `gzip`, `git`, `make`, `wget`, and
200
- `patch`.
201
+ - On Windows, ensure you have Visual Studio 2013 or later installed.
202
+ Then, download CMake from the [official download
203
+ page](https://cmake.org/download).
204
+ You'll also need `git` and `patch`, which are both provided by the
205
+ [git for Windows](git-scm.com/download/win) package.
206
+ Finally, Windows builds of flex and bison should be installed from
207
+ [the sourceforge page](sourceforge.net/projects/winflexbison).
208
+ The easiest way to 'install' these executables is to unzip them and to
209
+ drop the entire unzipped package into the CBMC source directory.
201
210
- Use of CMake has not been tested on Solaris or FreeBSD. However, it should
202
211
be possible to install CMake from the system package manager or the
203
212
[official download page](https://cmake.org/download) on those systems.
0 commit comments