summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/README.md b/README.md
index 3db94a1a..5c99930f 100644
--- a/README.md
+++ b/README.md
@@ -33,16 +33,29 @@ with more features (such as detection of inlined functions).
# pacman -S clang clang-tools-extra
```
+### Building clang 3.9
+
+Follow the instructions here: http://clang.llvm.org/get_started.html
+
+Those instructions list optional steps. For bindgen:
+
+* Checkout and build clang
+* Checkout and build the extra-clang-tools
+* Checkout and build the compiler-rt
+* You do not need to checkout or build libcxx
+
## Building
```
$ cargo build --features llvm_stable
```
-If you want a build with extra features (llvm 3.9) then you can just use:
+If you want a build with extra features (llvm 3.9) then you can use:
```
-$ cargo build
+$ LIBCLANG_PATH=path/to/clang-3.9/build/lib \
+ LD_LIBRARY_PATH=path/to/clang-3.9/build/lib \
+ cargo build
```
# Command Line Usage