aboutsummaryrefslogtreecommitdiffstats
path: root/doc/building/llvm/GNULinux-GNAT.rst
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@tu-dresden.de>2017-03-04 21:16:30 +0100
committertgingold <tgingold@users.noreply.github.com>2017-12-10 12:02:05 +0100
commit4459eedc856870f9bc05497d4286c128b269e275 (patch)
treea0473fa2810d145de47d1c3747c58ae19f722588 /doc/building/llvm/GNULinux-GNAT.rst
parentcab44a1f8580880e59e9ccfd7d98e71fa111b16a (diff)
downloadghdl-4459eedc856870f9bc05497d4286c128b269e275.tar.gz
ghdl-4459eedc856870f9bc05497d4286c128b269e275.tar.bz2
ghdl-4459eedc856870f9bc05497d4286c128b269e275.zip
More restructuring.
Diffstat (limited to 'doc/building/llvm/GNULinux-GNAT.rst')
-rw-r--r--doc/building/llvm/GNULinux-GNAT.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/building/llvm/GNULinux-GNAT.rst b/doc/building/llvm/GNULinux-GNAT.rst
index d72de34a2..b0f26b991 100644
--- a/doc/building/llvm/GNULinux-GNAT.rst
+++ b/doc/building/llvm/GNULinux-GNAT.rst
@@ -24,3 +24,15 @@ On Linux, GHDL is configured by ``configure`` and build by ``make``.
../configure --prefix=PREFIX
make
sudo make install
+
+
+.. TODO::
+ You need to install LLVM (usually depends on :samp:`libedit`, see :ghdlsharp`29`). The supported versions are 3.5 till 3.9, but debugging is only supported with LLVM 3.5.
+
+ - First configure GHDL with the proper arg :samp:`./configure --with-llvm-config`. If :samp:`llvm-config` is not in your path, you can specify it: :samp:`./configure --with-llvm-config=LLVM_INSTALL/bin/llvm-config`.
+
+ .. HINT::
+ If you want to have stack backtraces on errors (like assert failure or index of out bounds), you need to configure and build :samp:`libbacktrace` from GCC (you don't need to configure GCC). Then add the following arg to configure: :samp:`--with-backtrace-lib=/path-to-gcc-build/libbacktrace/.libs/libbacktrace.a`
+
+ - Then build with :samp:`make` and install with :samp:`make install`.
+