Building LLDB on Linux
+Building LLDB on Linux and FreeBSD
This document describes the steps needed to compile LLDB on most Linux systems.
+This document describes the steps needed to compile LLDB on most Linux systems, and FreeBSD.
Preliminaries
@@ -71,18 +71,22 @@It is recommended to use libstdc++ 4.6 (or higher) to build LLDB on Linux, but using libc++ is also known to work.
+On FreeBSD the base system Clang and libc++ may be used to build LLDB, + or the GCC port or package.
In addition to any dependencies required by LLVM and Clang, LLDB needs a few development packages that may also need to be installed depending on your system. The current list of dependencies are:
So for example, on a Fedora system one might run:
> yum install swig python-devel libedit-devel
On an Ubuntu system one might run:
> sudo apt-get install build-essential subversion swig python-dev libedit-dev
+ On FreeBSD one might run:
+> pkg install swig python
If you wish to build the optional reference documentation, additional dependencies are required:
- Graphviz (for the 'dot' tool).