aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2018-09-30 18:02:15 +0200
committerAyke van Laethem <[email protected]>2018-09-30 18:02:15 +0200
commitbcf441ccbac311f93ff0ec7902f9af83dcf340a6 (patch)
tree064037ade9bbaa3a2ab88505c2cd0da25de1b6f0 /docs
parenteac81e52327262a32ba4a306a5e85277d17f0152 (diff)
downloadtinygo-bcf441ccbac311f93ff0ec7902f9af83dcf340a6.tar.gz
tinygo-bcf441ccbac311f93ff0ec7902f9af83dcf340a6.zip
docs: add another way in which a llvm-7-dev installation can fail
Diffstat (limited to 'docs')
-rw-r--r--docs/installation.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index 5df07eed0..55e2ca20c 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -56,6 +56,11 @@ If you get an error like this::
cgo-gcc-prolog:80: error: undefined reference to 'LLVMVerifyModule'
[...etc...]
+Or like this::
+
+ ../go-llvm/analysis.go:17:93: fatal error: llvm-c/Analysis.h: No such file or directory
+ #include "llvm-c/Analysis.h" // If you are getting an error here read bindings/go/README.txt
+
It means something is wrong with your LLVM installation. Make sure LLVM 7 is
installed (Debian package ``llvm-7-dev``). If it still doesn't work, you can
try running::