Index: www/build.html =================================================================== --- www/build.html +++ www/build.html @@ -35,6 +35,8 @@
  • LLDB FreeBSD x86_64 (CMake)
  • +
  • LLDB NetBSD-7.0 amd64 (GCC 4.8.5, Ninja) +
  • @@ -44,7 +46,7 @@
    @@ -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:

    +

    The pkgsrc framework offers a package with recent LLDB in the wip repository:

    + + cd pkgsrc/wip/lldb-git
    + make install clean +
    Index: www/index.html =================================================================== --- www/index.html +++ www/index.html @@ -117,6 +117,7 @@

    See the LLDB Build Page for platform-specific build instructions.

    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. 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:

    Feature