Remove source file added to EXTRA_DIST in error
[valgrind.git] / README
blobddbb85689da22a4718cd861e31e2b3df73d13512
2 Release notes for Valgrind
3 ~~~~~~~~~~~~~~~~~~~~~~~~~~
4 If you are building a binary package of Valgrind for distribution,
5 please read README_PACKAGERS.  It contains some important information.
7 If you are developing Valgrind, please read README_DEVELOPERS.  It contains
8 some useful information.
10 For instructions on how to build/install, see the end of this file.
12 If you have problems, consult the FAQ to see if there are workarounds.
15 Executive Summary
16 ~~~~~~~~~~~~~~~~~
17 Valgrind is a framework for building dynamic analysis tools. There are
18 Valgrind tools that can automatically detect many memory management
19 and threading bugs, and profile your programs in detail. You can also
20 use Valgrind to build new tools.
22 The Valgrind distribution currently includes six production-quality
23 tools: a memory error detector, two thread error detectors, a cache
24 and branch-prediction profiler, a call-graph generating cache and
25 branch-prediction profiler, and a heap profiler. It also includes
26 three experimental tools: a heap/stack/global array overrun detector,
27 a different kind of heap profiler, and a SimPoint basic block vector
28 generator.
30 Valgrind is closely tied to details of the CPU, operating system and to
31 a lesser extent, compiler and basic C libraries. This makes it difficult
32 to make it portable.  Nonetheless, it is available for the following
33 platforms: 
35 - X86/Linux
36 - AMD64/Linux
37 - PPC32/Linux
38 - PPC64/Linux
39 - ARM/Linux
40 - ARM64/Linux
41 - x86/macOS
42 - AMD64/macOS
43 - S390X/Linux
44 - MIPS32/Linux
45 - MIPS64/Linux
46 - nanoMIPS/Linux
47 - X86/Solaris
48 - AMD64/Solaris
49 - X86/FreeBSD
50 - AMD64/FreeBSD
52 Note that AMD64 is just another name for x86_64, and Valgrind runs fine
53 on Intel processors.  Also note that the core of macOS is called
54 "Darwin" and this name is used sometimes.
56 Valgrind is licensed under the GNU General Public License, version 2. 
57 Read the file COPYING in the source distribution for details.
59 However: if you contribute code, you need to make it available as GPL
60 version 2 or later, and not 2-only.
63 Documentation
64 ~~~~~~~~~~~~~
65 A comprehensive user guide is supplied.  Point your browser at
66 $PREFIX/share/doc/valgrind/manual.html, where $PREFIX is whatever you
67 specified with --prefix= when building.
70 Building and installing it
71 ~~~~~~~~~~~~~~~~~~~~~~~~~~
72 To install from the GIT repository:
74   0. Clone the code from GIT:
75      git clone https://sourceware.org/git/valgrind.git
76      There are further instructions at
77      http://www.valgrind.org/downloads/repository.html.
79   1. cd into the source directory.
81   2. Run ./autogen.sh to setup the environment (you need the standard
82      autoconf tools to do so).
84   3. Continue with the following instructions...
86 To install from a tar.bz2 distribution:
88   4. Run ./configure, with some options if you wish.  The only interesting
89      one is the usual --prefix=/where/you/want/it/installed.
91   5. Run "make".
93   6. Run "make install", possibly as root if the destination permissions
94      require that.
96   7. See if it works.  Try "valgrind ls -l".  Either this works, or it
97      bombs out with some complaint.  In that case, please let us know
98      (see http://valgrind.org/support/bug_reports.html).
100 Important!  Do not move the valgrind installation into a place
101 different from that specified by --prefix at build time.  This will
102 cause things to break in subtle ways, mostly when Valgrind handles
103 fork/exec calls.
106 The Valgrind Developers