Debian Codegraph @

docs/html/dist.readme.html

raw
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4 <title>4. README</title>
5 <link rel="stylesheet" type="text/css" href="vg_basic.css">
6 <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
7 <link rel="home" href="index.html" title="Valgrind Documentation">
8 <link rel="up" href="dist.html" title="Valgrind Distribution Documents">
9 <link rel="prev" href="dist.news.old.html" title="3. OLDER NEWS">
10 <link rel="next" href="dist.readme-missing.html" title="5. README_MISSING_SYSCALL_OR_IOCTL">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <div><table class="nav" width="100%" cellspacing="3" cellpadding="3" border="0" summary="Navigation header"><tr>
14 <td width="22px" align="center" valign="middle"><a accesskey="p" href="dist.news.old.html"><img src="images/prev.png" width="18" height="21" border="0" alt="Prev"></a></td>
15 <td width="25px" align="center" valign="middle"><a accesskey="u" href="dist.html"><img src="images/up.png" width="21" height="18" border="0" alt="Up"></a></td>
16 <td width="31px" align="center" valign="middle"><a accesskey="h" href="index.html"><img src="images/home.png" width="27" height="20" border="0" alt="Up"></a></td>
17 <th align="center" valign="middle">Valgrind Distribution Documents</th>
18 <td width="22px" align="center" valign="middle"><a accesskey="n" href="dist.readme-missing.html"><img src="images/next.png" width="18" height="21" border="0" alt="Next"></a></td>
19 </tr></table></div>
20 <div class="chapter">
21 <div class="titlepage"><div><div><h1 class="title">
22 <a name="dist.readme"></a>4. README</h1></div></div></div>
23 <div class="literallayout"><p><br>
24       Release notes for Valgrind<br>
25 ~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
26 If you are building a binary package of Valgrind for distribution,<br>
27 please read README_PACKAGERS.  It contains some important information.<br>
28 <br>
29 If you are developing Valgrind, please read README_DEVELOPERS.  It contains<br>
30 some useful information.<br>
31 <br>
32 For instructions on how to build/install, see the end of this file.<br>
33 <br>
34 If you have problems, consult the FAQ to see if there are workarounds.<br>
35 <br>
36 <br>
37 Executive Summary<br>
38 ~~~~~~~~~~~~~~~~~<br>
39 Valgrind is a framework for building dynamic analysis tools. There are<br>
40 Valgrind tools that can automatically detect many memory management<br>
41 and threading bugs, and profile your programs in detail. You can also<br>
42 use Valgrind to build new tools.<br>
43 <br>
44 The Valgrind distribution currently includes seven production-quality<br>
45 tools: a memory error detector, two thread error detectors, a cache<br>
46 and branch-prediction profiler, a call-graph generating cache and<br>
47 branch-prediction profiler, and two heap profilers. It also includes<br>
48 one experimental tool: a SimPoint basic block vector generator.<br>
49 <br>
50 Valgrind is closely tied to details of the CPU, operating system and to<br>
51 a lesser extent, compiler and basic C libraries. This makes it difficult<br>
52 to make it portable.  Nonetheless, it is available for the following<br>
53 platforms: <br>
54 <br>
55 - X86/Linux<br>
56 - AMD64/Linux<br>
57 - PPC32/Linux<br>
58 - PPC64/Linux<br>
59 - ARM/Linux<br>
60 - ARM64/Linux<br>
61 - X86/macOS<br>
62 - AMD64/macOS<br>
63 - S390X/Linux<br>
64 - MIPS32/Linux<br>
65 - MIPS64/Linux<br>
66 - nanoMIPS/Linux<br>
67 - X86/Solaris<br>
68 - AMD64/Solaris<br>
69 - X86/FreeBSD<br>
70 - AMD64/FreeBSD<br>
71 - ARM64/FreeBSD<br>
72 <br>
73 Note that AMD64 is just another name for x86_64, and Valgrind runs fine<br>
74 on Intel processors.  Also note that the core of macOS is called<br>
75 "Darwin" and this name is used sometimes.<br>
76 <br>
77 Valgrind is licensed under the GNU General Public License, version 2. <br>
78 Read the file COPYING in the source distribution for details.<br>
79 <br>
80 However: if you contribute code, you need to make it available as GPL<br>
81 version 2 or later, and not 2-only.<br>
82 <br>
83 <br>
84 Documentation<br>
85 ~~~~~~~~~~~~~<br>
86 A comprehensive user guide is supplied.  Point your browser at<br>
87 $PREFIX/share/doc/valgrind/manual.html, where $PREFIX is whatever you<br>
88 specified with --prefix= when building.<br>
89 <br>
90 <br>
91 Building and installing it<br>
92 ~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
93 To install from the GIT repository:<br>
94 <br>
95   0. Clone the code from GIT:<br>
96      git clone https://sourceware.org/git/valgrind.git<br>
97      There are further instructions at<br>
98      http://www.valgrind.org/downloads/repository.html.<br>
99 <br>
100   1. cd into the source directory.<br>
101 <br>
102   2. Run ./autogen.sh to setup the environment (you need the standard<br>
103      autoconf tools to do so).<br>
104 <br>
105   3. Continue with the following instructions...<br>
106 <br>
107 To install from a tar.bz2 distribution:<br>
108 <br>
109   4. Run ./configure, with some options if you wish.  The only interesting<br>
110      one is the usual --prefix=/where/you/want/it/installed.<br>
111 <br>
112   5. Run "make".<br>
113 <br>
114   6. Run "make install", possibly as root if the destination permissions<br>
115      require that.<br>
116 <br>
117   7. See if it works.  Try "valgrind ls -l".  Either this works, or it<br>
118      bombs out with some complaint.  In that case, please let us know<br>
119      (see http://valgrind.org/support/bug_reports.html).<br>
120 <br>
121 Important!  Do not move the valgrind installation into a place<br>
122 different from that specified by --prefix at build time.  This will<br>
123 cause things to break in subtle ways, mostly when Valgrind handles<br>
124 fork/exec calls.<br>
125 <br>
126 <br>
127 The Valgrind Developers<br>
128 <br>
129     </p></div>
130 </div>
131 <div>
132 <br><table class="nav" width="100%" cellspacing="3" cellpadding="2" border="0" summary="Navigation footer">
133 <tr>
134 <td rowspan="2" width="40%" align="left">
135 <a accesskey="p" href="dist.news.old.html">&lt;&lt; 3. OLDER NEWS</a> </td>
136 <td width="20%" align="center"><a accesskey="u" href="dist.html">Up</a></td>
137 <td rowspan="2" width="40%" align="right"> <a accesskey="n" href="dist.readme-missing.html">5. README_MISSING_SYSCALL_OR_IOCTL &gt;&gt;</a>
138 </td>
139 </tr>
140 <tr><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td></tr>
141 </table>
142 </div>
143 </body>
144 </html>