Commit | Line | Data |
---|---|---|
5e0cbfb0 PP |
1 | --- |
2 | id: building-32-bit-lttng-tools | |
3 | --- | |
4 | ||
5 | Since the host is a 64-bit system, most 32-bit binaries and libraries of | |
47bfcb75 | 6 | LTTng-tools are not needed; the host uses their 64-bit counterparts. |
5e0cbfb0 PP |
7 | The required step here is building and installing a 32-bit consumer |
8 | daemon. | |
9 | ||
10 | Follow this: | |
11 | ||
12 | <pre class="term"> | |
13 | git clone http://git.lttng.org/lttng-tools.git | |
14 | cd lttng-ust | |
15 | ./bootstrap | |
16 | ./configure --prefix=/usr \ | |
17 | --libdir=/usr/lib32 CFLAGS=-m32 CXXFLAGS=-m32 \ | |
18 | LDFLAGS=-L/usr/lib32 | |
19 | make | |
20 | cd src/bin/lttng-consumerd | |
21 | sudo make install | |
22 | sudo ldconfig | |
23 | </pre> | |
24 | ||
25 | The above commands build all the LTTng-tools project as 32-bit | |
26 | applications, but only installs the 32-bit consumer daemon. |