I normally build llvm with a objdir != srcdir. This makes it easier to
have different directories built with different options or to start a
bootstrap when needed. Not to mention keeping all the obj files is a
single place.
A user recently reported following the getting started guide and had
better results with objdir != srcdir. Do others agree that it is a
good suggestion to new developers to use a distinct objdir? If so, is
the attached patch OK?
Cheers,
Rafael
diff --git a/www/get_started.html b/www/get_started.html
index 34fed95..6d4e75f 100644
--- a/www/get_started.html
+++ b/www/get_started.html
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits