-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
33 lines (20 loc) · 863 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
To build Kint from source code, you need LLVM 3.1 or later, and
Clang. One option is to install recent versions of LLVM and Clang
from Ubuntu 12.10 (earlier versions of Ubuntu have older versions
of LLVM that are not compatible with Kint):
$ apt-get install llvm-dev clang
Another option is to build the latest LLVM & Clang, as detailed at:
http://clang.llvm.org/get_started.html
We use the following parameters to LLVM's configure:
--enable-optimized --enable-targets=host --enable-bindings=none --enable-shared --enable-debug-symbols
Then build Kint in its source root directory.
If building from git, first do:
$ autoreconf -fvi
If building from a source tarball, skip the above step.
Then configure and make.
$ mkdir build
$ cd build
$ ../configure
$ make
Finally, either add `<KINT_ROOT>/build/bin` to PATH, or do:
$ sudo make install