diff options
author | Anders Jensen-Waud <anders@jensenwaud.com> | 2015-05-08 09:16:52 +1000 |
---|---|---|
committer | Anders Jensen-Waud <anders@jensenwaud.com> | 2015-05-08 09:16:52 +1000 |
commit | 058aabfce542222174b176e40a9ff19837599f1f (patch) | |
tree | 5defc284c207810923a7904ffac7698b2e81ef07 /src | |
parent | 625801a72a3ac45a888cde0d0aab1a667fb0a5f8 (diff) | |
download | coreclr-058aabfce542222174b176e40a9ff19837599f1f.tar.gz coreclr-058aabfce542222174b176e40a9ff19837599f1f.tar.bz2 coreclr-058aabfce542222174b176e40a9ff19837599f1f.zip |
Updated FreeBSD installation instructions with LLDB steps
Included build instructions for FreeBSD on how to
manually build and install LLDB on FreeBSD STABLE
Included FreeBSD LLDB install script
Fixed spacing issues
Fixed installation formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/pal/tools/freebsd-install-lldb.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/pal/tools/freebsd-install-lldb.sh b/src/pal/tools/freebsd-install-lldb.sh new file mode 100644 index 0000000000..488a119d23 --- /dev/null +++ b/src/pal/tools/freebsd-install-lldb.sh @@ -0,0 +1,32 @@ +#!/bin/sh +# LLDB installation script for FreeBSD 10.1 STABLE +# LLDB is yet not available in FreeBSD ports/packages, so we have to fetch +# it from the LLVM source tree and build it ouselves. +# Prerequisite packages, which must be installed prior to running this script: +# git python cmake ninja swig13 +# +# You can intall the tools by running (as root): +# pkg install git python cmake ninja swig13 +# + +GIT=/usr/local/bin/git +CMAKE=/usr/local/bin/cmake +NINJA=/usr/local/bin/ninja +PYTHON_PATH=/usr/local/include/python2.7 + +$GIT clone http://llvm.org/git/llvm.git +cd llvm/tools +$GIT clone http://llvm.org/git/clang.git +$GIT clone http://llvm.org/git/lldb.git + +cd .. +mkdir build +cd build + +$CMAKE ../ -G Ninja -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++ -I$PYTHON_PATH -g" +$NINJA lldb +#$NINJA check-lldb # if you want to run tests + +su <<EOSU +$NINJA lldb install +EOSU |