Skip to content

Commit f985aa5

Browse files
kulpemilio
authored andcommitted
book: Update Clang references from 3.9 -> 4.0
1 parent 8be556a commit f985aa5

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

book/src/requirements.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ This page lists the requirements for running `bindgen` and how to get them.
77
`bindgen` leverages `libclang` to preprocess, parse, and type check C and C++
88
header files.
99

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
1111
older Clangs with some features disabled.
1212

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
1714
greater.
1815

19-
### Installing Clang 3.9
16+
### Installing Clang 4.0
2017

2118
#### Windows
2219

@@ -53,9 +50,9 @@ $ port install clang
5350
# apt install llvm-dev libclang-dev clang
5451
```
5552

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
5754
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/.
5956

6057
#### Arch
6158

@@ -79,7 +76,7 @@ Add `export LIBCLANG_PATH=/usr/local/lib` to your profile.
7976

8077
#### From source
8178

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
8380
source. For that, follow the
8481
instructions [here](http://clang.llvm.org/get_started.html).
8582

0 commit comments

Comments
 (0)