@@ -7,16 +7,13 @@ This page lists the requirements for running `bindgen` and how to get them.
7
7
` bindgen ` leverages ` libclang ` to preprocess, parse, and type check C and C++
8
8
header files.
9
9
10
- It is recommended to use Clang 3.9 or greater, however ` bindgen ` can run with
10
+ It is recommended to use Clang 4.0 or greater, however ` bindgen ` can run with
11
11
older Clangs with some features disabled.
12
12
13
- * ** If you are generating bindings to C,** 3.7 and 3.8 will probably work OK for
14
- you.
15
-
16
- * ** If you are generating bindings to C++,** you almost definitely want 3.9 or
13
+ * ** If you are generating bindings to C++,** you almost definitely want 4.0 or
17
14
greater.
18
15
19
- ### Installing Clang 3.9
16
+ ### Installing Clang 4.0
20
17
21
18
#### Windows
22
19
@@ -53,9 +50,9 @@ $ port install clang
53
50
# apt install llvm-dev libclang-dev clang
54
51
```
55
52
56
- Ubuntu 16.10 provides the necessary packages directly. If you are using older
53
+ Ubuntu 18.04 provides the necessary packages directly. If you are using older
57
54
version of Ubuntu or other Debian-based distros, you may need to add the LLVM
58
- repos to get version 3.9 . See http://apt.llvm.org/ .
55
+ repos to get version 4.0 . See http://apt.llvm.org/ .
59
56
60
57
#### Arch
61
58
@@ -79,7 +76,7 @@ Add `export LIBCLANG_PATH=/usr/local/lib` to your profile.
79
76
80
77
#### From source
81
78
82
- If your package manager doesn't yet offer Clang 3.9 , you'll need to build from
79
+ If your package manager doesn't yet offer Clang 4.0 , you'll need to build from
83
80
source. For that, follow the
84
81
instructions [ here] ( http://clang.llvm.org/get_started.html ) .
85
82
0 commit comments