Remove latin abbreviations
[lttng-docs.git] / contents / using-lttng / instrumenting / advanced-techniques / 32-bit-on-64-bit / building-32-bit-lttng-ust.md
CommitLineData
5e0cbfb0
PP
1---
2id: building-32-bit-lttng-ust
3---
4
5Follow this:
6
7<pre class="term">
8git clone http://git.lttng.org/lttng-ust.git
9cd lttng-ust
10./bootstrap
11./configure --prefix=/usr \
12 --libdir=/usr/lib32 \
13 CFLAGS=-m32 CXXFLAGS=-m32 \
14 LDFLAGS=-L/usr/lib32
15make
16sudo make install
17sudo ldconfig
18</pre>
19
bd469a0d
PP
20`-L/usr/lib32` is required for the build to find the 32-bit versions
21of 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
4d46e8c0 32 relevant 32-bit library paths, for example,
bd469a0d
PP
33 <code>LDFLAGS="-L/usr/lib32 -L/usr/lib/i386-linux-gnu"</code>.
34</p>
35</div>
5e0cbfb0
PP
36
37<div class="tip">
38<p>
39 <span class="t">Note:</span>You may add options to
4d46e8c0
PP
40 <code>./configure</code> if you need them (for
41 Java and SystemTap support, for example). Look at
5e0cbfb0
PP
42 <code>./configure --help</code> for more information.
43</p>
44</div>
This page took 0.024355 seconds and 4 git commands to generate.