[cfe-commits] r46881 - /cfe/trunk/www/get_started.html

Eric Christopher echristo at apple.com
Thu Feb 7 23:10:48 PST 2008


Author: echristo
Date: Fri Feb  8 01:10:48 2008
New Revision: 46881

URL: http://llvm.org/viewvc/llvm-project?rev=46881&view=rev
Log:
Add instructions for building clang while building llvm.

Modified:
    cfe/trunk/www/get_started.html

Modified: cfe/trunk/www/get_started.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/get_started.html?rev=46881&r1=46880&r2=46881&view=diff

==============================================================================
--- cfe/trunk/www/get_started.html (original)
+++ cfe/trunk/www/get_started.html Fri Feb  8 01:10:48 2008
@@ -100,6 +100,18 @@
   </ul>
 </ol>
 
+<h3>Building clang while building llvm:</h3>
+   <p>Since you've checked out clang into the llvm source tree you can
+   build them all at once with a simple Makefile change. This moves
+   Step 1 above to Step 4.</p>
+  <ul>
+    <li><tt>cd llvm/tools</tt></li>
+    <li>then edit <tt>Makefile</tt> to have a clang target in <tt>PARALLEL_DIRS</tt>
+        just like <tt>llvm-config</tt></li>
+    <li>then just build llvm normally as above and clang will build at
+        the same time</li>
+  </ul>
+
 <p>Note that the C front-end uses LLVM, but does not depend on
   llvm-gcc.  If you encounter problems with building clang, make
   sure you have the latest SVN version of LLVM.  LLVM contains





More information about the cfe-commits mailing list