krytarowski created this revision.
krytarowski added reviewers: clayborg, emaste.
krytarowski added subscribers: lldb-commits, joerg.
krytarowski set the repository for this revision to rL LLVM.
It's high time.
Repository:
rL LLVM
http://reviews.llvm.org/D14904
Files:
www/build.html
www/download.html
www/index.html
www/status.html
www/test.html
Index: www/test.html
===
--- www/test.html
+++ www/test.html
@@ -42,6 +42,8 @@
> ninja check-lldb
Note that multiple -A and -C flags can be specified to LLDB_TEST_USER_ARGS.
+Note that on NetBSD you must export LD_LIBRARY_PATH=$PWD/lib in your environment. This is due to lack of
+ the $ORIGIN linker feature.
In addition to running all the LLDB test suites with the "check-lldb" CMake target above, it is possible to
run individual LLDB tests. For example, to run the test cases defined in TestInferiorCrashing.py, run:
Index: www/status.html
===
--- www/status.html
+++ www/status.html
@@ -48,7 +48,7 @@
The table below shows a summary of the features that are available
on several platforms. In addition to Linux and Mac OS X, LLDB is also
- known to work on FreeBSD. Windows support is under development.
+ known to work on FreeBSD. Windows and NetBSD support is under development.
Feature
Index: www/index.html
===
--- www/index.html
+++ www/index.html
@@ -117,6 +117,7 @@
On Mac OS X with Xcode
On Linux and FreeBSD (with clang and libstdc++/libc++)
+On NetBSD (with GCC and clang and libstdc++/libc++)
On Windows with VS 2012 or higher using CMake
See the LLDB Build Page for platform-specific build instructions.
Index: www/download.html
===
--- www/download.html
+++ www/download.html
@@ -25,6 +25,11 @@
Debian and Ubuntu:
http://llvm.org/apt/";>llvm.org/apt
+ The http://pkgsrc.org";>pkgsrc framework offers a package with recent LLDB in the http://pkgsrc.org/wip";>wip repository:
+
+ cd pkgsrc/wip/lldb-git
+ make install clean
+
Index: www/build.html
===
--- www/build.html
+++ www/build.html
@@ -35,6 +35,8 @@
http://lab.llvm.org:8011/builders/lldb-x86_64-freebsd";>LLDB FreeBSD x86_64 (CMake)
+ http://lab.llvm.org:8011/builders/lldb-amd64-ninja-netbsd7";>LLDB NetBSD-7.0 amd64 (GCC 4.8.5, Ninja)
+
@@ -44,7 +46,7 @@
Building LLDB on Windows
Building LLDB on Mac OSX
-Building LLDB on Linux and FreeBSD
+Building LLDB on Linux, FreeBSD and NetBSD
@@ -165,9 +167,9 @@
- Building LLDB on Linux and FreeBSD
+ Building LLDB on Linux, FreeBSD and NetBSD
-This document describes the steps needed to compile LLDB on most Linux systems, and FreeBSD.
+This document describes the steps needed to compile LLDB on most Linux systems, FreeBSD and NetBSD.
Preliminaries
@@ -192,6 +194,10 @@
or the GCC port or package.
+ On NetBSD the base system GCC and libstdc++ are used to build LLDB,
+ Clang/LLVM and libc++ should also work.
+
+
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:
@@ -209,6 +215,8 @@
> sudo apt-get build-dep lldb-3.3 # or lldb-3.4
On FreeBSD one might run:
> pkg install swig python
+On NetBSD one might run:
+> pkgin install swig python27 cmake ninja-build
If you wish to build the optional reference documentation, additional dependencies are required:
Graphviz (for the 'dot' tool).
@@ -342,11 +350,9 @@
Additional Notes
- LLDB has a Python scripting capability and supplies its own Python module named lldb.
- If a script is run inside the command line lldb application, the Python module
- is made available automatically. However, if a script is to be run by a Python interpreter
- outside the command line application, the PYTHONPATH environment variable can be used
-