2 id: building-32-bit-lttng-ust
8 git clone http://git.lttng.org/lttng-ust.git
11 ./configure --prefix=/usr \
13 CFLAGS=-m32 CXXFLAGS=-m32 \
20 `-L/usr/lib32` is required for the build to find the 32-bit versions
21 of Userspace RCU and other dependencies.
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>.
31 In this case, make sure to set <code>LDFLAGS</code> to all the
32 relevant 32-bit library paths, e.g.,
33 <code>LDFLAGS="-L/usr/lib32 -L/usr/lib/i386-linux-gnu"</code>.
39 <span class="t">Note:</span>You may add options to
40 <code>./configure</code> if you need them, e.g., for
41 Java and SystemTap support. Look at
42 <code>./configure --help</code> for more information.