diff options
| -rwxr-xr-x | lldb/www/build.html | 19 | ||||
| -rwxr-xr-x | lldb/www/download.html | 5 | ||||
| -rwxr-xr-x | lldb/www/index.html | 1 | ||||
| -rwxr-xr-x | lldb/www/status.html | 2 | ||||
| -rw-r--r-- | lldb/www/test.html | 2 | 
5 files changed, 25 insertions, 4 deletions
diff --git a/lldb/www/build.html b/lldb/www/build.html index 08373ce921d..787ce6220a2 100755 --- a/lldb/www/build.html +++ b/lldb/www/build.html @@ -35,6 +35,8 @@                </li>                <li> <a href="http://lab.llvm.org:8011/builders/lldb-x86_64-freebsd">LLDB FreeBSD x86_64 (CMake)</a>                </li> +              <li> <a href="http://lab.llvm.org:8011/builders/lldb-amd64-ninja-netbsd7">LLDB NetBSD-7.0 amd64 (GCC 4.8.5, Ninja)</a> +              </li>              </ul>            </p>          </div> @@ -44,7 +46,7 @@            <ul>              <li><a href="#BuildingLldbOnWindows">Building LLDB on Windows</a></li>              <li><a href="#BuildingLldbOnMacOSX">Building LLDB on Mac OSX</a></li> -            <li><a href="#BuildingLldbOnLinux">Building LLDB on Linux and FreeBSD</a></li> +            <li><a href="#BuildingLldbOnLinux">Building LLDB on Linux, FreeBSD and NetBSD</a></li>            </ul>          </div>          <div class="postfooter"></div> @@ -165,9 +167,9 @@            <div class="postfooter"></div>          </div>          <div class="post" id="BuildingLldbOnLinux"> -          <h1 class="postheader">Building LLDB on Linux and FreeBSD</h1> +          <h1 class="postheader">Building LLDB on Linux, FreeBSD and NetBSD</h1>            <div class="postcontent"> -            <p>This document describes the steps needed to compile LLDB on most Linux systems, and FreeBSD.</a></p> +            <p>This document describes the steps needed to compile LLDB on most Linux systems, FreeBSD and NetBSD.</a></p>            </div>            <div class="postcontent">              <h2>Preliminaries</h2> @@ -192,6 +194,10 @@                or the GCC port or package.              </p>              <p> +              On NetBSD the base system GCC and libstdc++ are used to build LLDB, +              Clang/LLVM and libc++ should also work. +            </p> +            <p>                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 @@              <code>> sudo apt-get build-dep lldb-3.3 # or lldb-3.4</code>              <p>On FreeBSD one might run:</p>              <code>> pkg install swig python</code> +            <p>On NetBSD one might run:</p> +            <code>> pkgin install swig python27 cmake ninja-build</code>              <p>If you wish to build the optional reference documentation, additional dependencies are required:</p>              <ul>                <li> Graphviz (for the 'dot' tool). @@ -348,6 +356,11 @@                outside the command line application, the <tt>PYTHONPATH</tt> environment variable can be used                to let the Python interpreter find the <tt>lldb</tt> module.              </p> +            <p> +              Current stable NetBSD release doesn't ship with libpanel(3), therefore it's required to disable curses(3) support with +              the <tt>-DLLDB_DISABLE_CURSES:BOOL=TRUE</tt> option. To make sure check if <tt>/usr/include/panel.h</tt> exists in your +              system. +            </p>              <p>The correct path can be obtained by invoking the command line <tt>lldb</tt> tool with the -P flag:</p>              <code>> export PYTHONPATH=`$llvm/build/Debug+Asserts/bin/lldb -P`</code>              <p> diff --git a/lldb/www/download.html b/lldb/www/download.html index 6fded58f160..8624f970f6d 100755 --- a/lldb/www/download.html +++ b/lldb/www/download.html @@ -25,6 +25,11 @@  						<li>Debian and Ubuntu:  						<a href="http://llvm.org/apt/">llvm.org/apt</a></li>  					</ul> +					<p>The <a href="http://pkgsrc.org">pkgsrc</a> framework offers a package with recent LLDB in the <a href="http://pkgsrc.org/wip">wip</a> repository:</p> +					<code> +						cd pkgsrc/wip/lldb-git<br> +						make install clean +					</code>  				</div>  				<div class="postfooter"></div>  			</div> diff --git a/lldb/www/index.html b/lldb/www/index.html index 7813140711b..5d5cd3584ad 100755 --- a/lldb/www/index.html +++ b/lldb/www/index.html @@ -117,6 +117,7 @@  						<ul>  								<li>On Mac OS X with Xcode</li>  								<li>On Linux and FreeBSD (with clang and libstdc++/libc++)</li> +								<li>On NetBSD (with GCC and clang and libstdc++/libc++)</li>  								<li>On Windows with VS 2012 or higher using CMake</li>  						</ul>  						<p>See the <a href="build.html">LLDB Build Page</a> for platform-specific build instructions.</p> diff --git a/lldb/www/status.html b/lldb/www/status.html index b0dc24fbe88..ba7747f79d6 100755 --- a/lldb/www/status.html +++ b/lldb/www/status.html @@ -48,7 +48,7 @@  				<div class="postcontent">  					<p> 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.  							<table border="1">  								<tr>  									<th>Feature</th> diff --git a/lldb/www/test.html b/lldb/www/test.html index 77d1f01f43f..b40e0ff4ddd 100644 --- a/lldb/www/test.html +++ b/lldb/www/test.html @@ -42,6 +42,8 @@                <br />> ninja check-lldb              </code>              <p>Note that multiple -A and -C flags can be specified to <tt>LLDB_TEST_USER_ARGS</tt>.</p> +            <p>Note that on NetBSD you must export <tt>LD_LIBRARY_PATH=$PWD/lib</tt> in your environment. This is due to lack of +               the <tt>$ORIGIN</tt> linker feature.</p>              <p>                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:  | 

