domain: add Python domain to list
[lttng-docs.git] / contents / using-lttng / instrumenting / advanced-techniques / 32-bit-on-64-bit / building-32-bit-lttng-ust.md
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 versions
21 of Userspace RCU and other dependencies.
22
23 <div class="tip">
24 <p>
25 <span class="t">Note:</span>Depending on your Linux distribution,
26 32-bit libraries could be installed at a different location than
27 <code>/usr/lib32</code>. For example, Debian is known to install
28 some 32-bit libraries in <code>/usr/lib/i386-linux-gnu</code>.
29 </p>
30 <p>
31 In this case, make sure to set <code>LDFLAGS</code> to all the
32 relevant 32-bit library paths, for example,
33 <code>LDFLAGS="-L/usr/lib32 -L/usr/lib/i386-linux-gnu"</code>.
34 </p>
35 </div>
36
37 <div class="tip">
38 <p>
39 <span class="t">Note:</span>You may add options to
40 <code>./configure</code> if you need them (for
41 Java and SystemTap support, for example). Look at
42 <code>./configure --help</code> for more information.
43 </p>
44 </div>
This page took 0.030979 seconds and 4 git commands to generate.