CPROVER Manual TOC

## Installing CBMC

### Requirements

CBMC is available for Windows, i86 Linux, and MacOS X. CBMC requires a code pre-processing environment comprising of a suitable preprocessor and an a set of header files.

1. Linux: the preprocessor and the header files typically come with a package called gcc, which must be installed prior to the installation of CBMC.

2. Windows: The Windows version of CBMC requires the preprocessor `cl.exe`, which is part of Microsoft Visual Studio. We recommend the free Visual Studio Community 2013.

3. MacOS: Install the XCode Command Line Utilities prior to installing CBMC. Just installing XCode alone is not enough.

Important note for Windows users: Visual Studio's `cl.exe` relies on a complex set of environment variables to identify the target architecture and the directories that contain the header files. You must run CBMC from within the Visual Studio Command Prompt.

Note that the distribution files for the Eclipse plugin include the CBMC executable. Therefore, if you intend to run CBMC exclusively within Eclipse, you can skip the installation of the CBMC executable. However, you still have to install the compiler environment as described above.

### Installing the CBMC Binaries

1. Download CBMC for your operating system. The binaries are available from http://www.cprover.org/cbmc/.
2. Unzip/untar the archive into a directory of your choice. We recommend to add this directory to your `PATH` environment variable.

You are now ready to use CBMC!

### Building CBMC from Source

Alternatively, the CBMC source code is available via SVN. To compile the source code, follow these instructions.