[Lldb-commits] [lldb] r162001 - /lldb/trunk/www/build.html

Johnny Chen johnny.chen at apple.com
Wed Aug 15 17:08:21 PDT 2012


Author: johnny
Date: Wed Aug 15 19:08:21 2012
New Revision: 162001

URL: http://llvm.org/viewvc/llvm-project?rev=162001&view=rev
Log:
Update build instructions.  Patch from "Kopec, Matt" <matt.kopec at intel.com>!

Modified:
    lldb/trunk/www/build.html

Modified: lldb/trunk/www/build.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/build.html?rev=162001&r1=162000&r2=162001&view=diff
==============================================================================
--- lldb/trunk/www/build.html (original)
+++ lldb/trunk/www/build.html Wed Aug 15 19:08:21 2012
@@ -21,6 +21,14 @@
     			<h1 class ="postheader">Building LLDB on Mac OS X</h1>
     			<div class="postcontent">
     			    <p>Building on Mac OS X is as easy as downloading the code and building the Xcode project or workspace:</p>
+                </div>
+                <div class="postcontent">
+                    <h2>Preliminaries</h2>
+                    <ul>
+                        <li>XCode 4.3 or newer requires the "Command Line Tools" component (XCode->Preferences->Downloads->Components).</li>
+                        <li>Mac OS X Lion or newer requires installing <a href="http://swig.org">Swig</a>.</li>
+                    </ul>
+                    <h2>Building LLDB</h2>
     			    <ul>
                         <li><a href="download.html">Download</a> the lldb sources.</li>
                         <li>Follow the code signing instructions in <b>lldb/docs/code-signing.txt</b></li>
@@ -55,6 +63,10 @@
                 </ul>
                 <p>So for example, on a Fedora system one might say:</p>
                 <code>> yum install swig python-devel libedit-devel</code>
+                <p>If building using GCC instead of Clang, GCC 4.6.2 or newer is recommended.</p>
+                <ul>
+                    <li><a href="http://gcc.gnu.org">GCC</a></li>
+                </ul>
                 <h2 >Building LLDB</h2>
                 <p>We first need to checkout the source trees into the appropriate locations.  Both
                 Clang and LLDB build as subprojects of LLVM.  This means we will be checking out





More information about the lldb-commits mailing list