Installing Valgrind

We use the standard Unix ./configure, make, make install mechanism. Once you have completed make
install you may then want to run the regression tests with make regtest.

In addition to the usual --prefix=/path/to/install/tree, there are three options which affect how Valgrind
is built:

 --enable-inner

This builds Valgrind with some special magic hacks which make it possible to run it on a standard build of Valgrind (what the developers call "self-hosting"). Ordinarily you should not use this option as various kinds of safety checks are disabled.

--enable-only64bit
--enable-only32bit


On 64-bit platforms (amd64-linux, ppc64-linux, amd64-darwin), Valgrind is by default built in such a way that both 32-bit and 64-bit executables can be run. Sometimes this cleverness is a problem for a variety of reasons. These two options allow for single-target builds in this situation. If you issue both, the configure script will complain.

Note they are ignored on 32-bit-only platforms (x86-linux, ppc32-linux, arm-linux, x86-darwin).