Commit | Line | Data |
---|---|---|
5e0cbfb0 PP |
1 | --- |
2 | id: building-32-bit-lttng-ust | |
3 | --- | |
4 | ||
5 | Follow this: | |
6 | ||
7 | <pre class="term"> | |
8 | git clone http://git.lttng.org/lttng-ust.git | |
9 | cd lttng-ust | |
10 | ./bootstrap | |
11 | ./configure --prefix=/usr \ | |
12 | --libdir=/usr/lib32 \ | |
13 | CFLAGS=-m32 CXXFLAGS=-m32 \ | |
14 | LDFLAGS=-L/usr/lib32 | |
15 | make | |
16 | sudo make install | |
17 | sudo ldconfig | |
18 | </pre> | |
19 | ||
20 | `-L/usr/lib32` is required for the build to find the 32-bit version | |
21 | of Userspace RCU. | |
22 | ||
23 | <div class="tip"> | |
24 | <p> | |
25 | <span class="t">Note:</span>You may add options to | |
26 | <code>./configure</code> if you need them, e.g., for | |
27 | Java and SystemTap support. Look at | |
28 | <code>./configure --help</code> for more information. | |
29 | </p> | |
30 | </div> |