File tree 1 file changed +21
-3
lines changed 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,27 @@ 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
36
+ ### Getting clang 3.9
37
37
38
- Follow the instructions here: http://clang.llvm.org/get_started.html
38
+ #### From a package manager
39
+
40
+ Clang 3.9 has ben released about a month ago, and some package managers already
41
+ provide it.
42
+
43
+ For example, for MacPorts:
44
+
45
+ ```
46
+ $ port install clang-3.9
47
+ $ LIBCLANG_PATH=/opt/local/libexec/llvm-3.9/lib \
48
+ LD_LIBRARY_PATH=/opt/local/libexec/llvm-3.9/lib \
49
+ cargo build
50
+ ```
51
+
52
+ #### From source
53
+
54
+ If your package manager doesn't yet offer Clang 3.9, you'll need to build from
55
+ source. For that, follow the instructions
56
+ [ here] ( http://clang.llvm.org/get_started.html ) .
39
57
40
58
Those instructions list optional steps. For bindgen:
41
59
@@ -54,7 +72,7 @@ If you want a build with extra features (llvm 3.9) then you can use:
54
72
55
73
```
56
74
$ LIBCLANG_PATH=path/to/clang-3.9/build/lib \
57
- LD_LIBRARY_PATH=path/to/clang-3.9/build/lib \
75
+ LD_LIBRARY_PATH=path/to/clang-3.9/build/lib \
58
76
cargo build
59
77
```
60
78
You can’t perform that action at this time.
0 commit comments