File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,29 @@ with more features (such as detection of inlined functions).
33
33
# pacman -S clang clang-tools-extra
34
34
```
35
35
36
+ ### Building clang 3.9
37
+
38
+ Follow the instructions here: http://clang.llvm.org/get_started.html
39
+
40
+ Those instructions list optional steps. For bindgen:
41
+
42
+ * Checkout and build clang
43
+ * Checkout and build the extra-clang-tools
44
+ * Checkout and build the compiler-rt
45
+ * You do not need to checkout or build libcxx
46
+
36
47
## Building
37
48
38
49
```
39
50
$ cargo build --features llvm_stable
40
51
```
41
52
42
- If you want a build with extra features (llvm 3.9) then you can just use:
53
+ If you want a build with extra features (llvm 3.9) then you can use:
43
54
44
55
```
45
- $ cargo build
56
+ $ LIBCLANG_PATH=path/to/clang-3.9/build/lib \
57
+ LD_LIBRARY_PATH=path/to/clang-3.9/build/lib \
58
+ cargo build
46
59
```
47
60
48
61
# Command Line Usage
You can’t perform that action at this time.
0 commit comments