Add instructions for building clang while building llvm.

llvm-svn: 46881
This commit is contained in:
Eric Christopher 2008-02-08 07:10:48 +00:00
parent 707b07ccf9
commit 6aa87cbb63
1 changed files with 12 additions and 0 deletions

View File

@ -100,6 +100,18 @@ is:</p>
</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