]> granicus.if.org Git - clang/commitdiff
Use objdir != srcdir in the getting started doc.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 29 Oct 2010 22:05:17 +0000 (22:05 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 29 Oct 2010 22:05:17 +0000 (22:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117723 91177308-0d34-0410-b5e6-96231b3b80d8

www/get_started.html

index 34fed955879d88920c342e39984e5ba7e9f99b25..6d4e75f330f3ce83ccf8d4cfa26b1544789b6477 100644 (file)
@@ -51,8 +51,11 @@ follows:</p>
   </ul>
   <li>Build LLVM and Clang:</li>
   <ul>
-    <li><tt>cd ..</tt>  (back to llvm)</li>
-    <li><tt>./configure</tt></li>
+    <li><tt>cd ../..</tt>  (back to where you started)</li>
+    <li><tt>mkdir build</tt> (for building without polluting the source dir)
+    </li>
+    <li><tt>cd build</tt></li>
+    <li><tt>../llvm/configure</tt></li>
     <li><tt>make</tt></li>
     <li>This builds both LLVM and Clang for debug mode.</li>
     <li>Note: For subsequent Clang development, you can just do make at the