[Lldb-commits] [lldb] r254858 - Document NetBSD platform support on the webpage
Kamil Rytarowski via lldb-commits
lldb-commits at lists.llvm.org
Sat Dec 5 11:41:37 PST 2015
Author: kamil
Date: Sat Dec 5 13:41:37 2015
New Revision: 254858
URL: http://llvm.org/viewvc/llvm-project?rev=254858&view=rev
Log:
Document NetBSD platform support on the webpage
Summary: It's high time.
Reviewers: emaste, clayborg
Subscribers: labath, joerg, lldb-commits
Differential Revision: http://reviews.llvm.org/D14904
Modified:
lldb/trunk/www/build.html
lldb/trunk/www/download.html
lldb/trunk/www/index.html
lldb/trunk/www/status.html
lldb/trunk/www/test.html
Modified: lldb/trunk/www/build.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/build.html?rev=254858&r1=254857&r2=254858&view=diff
==============================================================================
--- lldb/trunk/www/build.html (original)
+++ lldb/trunk/www/build.html Sat Dec 5 13:41:37 2015
@@ -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>
Modified: lldb/trunk/www/download.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/download.html?rev=254858&r1=254857&r2=254858&view=diff
==============================================================================
--- lldb/trunk/www/download.html (original)
+++ lldb/trunk/www/download.html Sat Dec 5 13:41:37 2015
@@ -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>
Modified: lldb/trunk/www/index.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/index.html?rev=254858&r1=254857&r2=254858&view=diff
==============================================================================
--- lldb/trunk/www/index.html (original)
+++ lldb/trunk/www/index.html Sat Dec 5 13:41:37 2015
@@ -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>
Modified: lldb/trunk/www/status.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/status.html?rev=254858&r1=254857&r2=254858&view=diff
==============================================================================
--- lldb/trunk/www/status.html (original)
+++ lldb/trunk/www/status.html Sat Dec 5 13:41:37 2015
@@ -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>
Modified: lldb/trunk/www/test.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/test.html?rev=254858&r1=254857&r2=254858&view=diff
==============================================================================
--- lldb/trunk/www/test.html (original)
+++ lldb/trunk/www/test.html Sat Dec 5 13:41:37 2015
@@ -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:
More information about the lldb-commits
mailing list