Skip to content

Commit dff22b8

Browse files
committed
Make Windows compilation instructions more prescriptive
1 parent 08c512d commit dff22b8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

COMPILING.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ Follow these instructions:
130130
git clone https://github.com/diffblue/cbmc cbmc-git
131131
```
132132
3. Depending on your choice of compiler:
133-
1. To compile with Visual Studio, change the second line of config.inc to
133+
1. To compile with Visual Studio, change the second line of `src/config.inc`
134+
to
134135
```
135136
BUILD_ENV = MSVC
136137
```
@@ -140,8 +141,10 @@ Follow these instructions:
140141
bash.exe -login
141142
```
142143
2. To compile with MinGW, use Cygwin setup to install a mingw g++ compiler
143-
package, i.e. one of `mingw{32,64}-{x86_64,i686}-gcc-g++`. Then start
144-
the Cygwin shell.
144+
package, i.e. one of `mingw{32,64}-{x86_64,i686}-gcc-g++`. You may also
145+
have to adjust the section in `src/common` that defines `CC` and `CXX`
146+
for BUILD_ENV = Cygwin.
147+
Then start the Cygwin shell.
145148
4. In the Cygwin shell, type
146149
```
147150
cd cbmc-git/src

0 commit comments

Comments
 (0)