Skip to content
Snippets Groups Projects
Commit 500f7868 authored by Reid Kleckner's avatar Reid Kleckner
Browse files

Update getting started docs

compiler-rt is optional. We often get email from users with compiler-rt
build errors who don't actually need compiler-rt. Marking it optional
should help them avoid those potential problems.

While I'm here, update a reference to the build directory and remove an
obsolete reference to llvm-gcc. Nobody today is under the impression
that Clang depends on GCC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265963 91177308-0d34-0410-b5e6-96231b3b80d8
parent c38e6e75
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ follows:</p> ...@@ -68,7 +68,7 @@ follows:</p>
<li><tt>cd ../../../..</tt></li> <li><tt>cd ../../../..</tt></li>
</ul> </ul>
</li> </li>
<li>Checkout Compiler-RT: <li>Checkout Compiler-RT (optional):
<ul> <ul>
<li><tt>cd llvm/projects</tt></li> <li><tt>cd llvm/projects</tt></li>
<li><tt>svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk <li><tt>svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk
...@@ -109,7 +109,7 @@ follows:</p> ...@@ -109,7 +109,7 @@ follows:</p>
scenarios, you can use the <tt>-DGCC_INSTALL_PREFIX</tt> cmake option scenarios, you can use the <tt>-DGCC_INSTALL_PREFIX</tt> cmake option
to tell Clang where the gcc containing the desired libstdc++ is installed. to tell Clang where the gcc containing the desired libstdc++ is installed.
</li> </li>
<li>Try it out (assuming you add llvm/Debug+Asserts/bin to your path): <li>Try it out (assuming you add llvm/build/bin to your path):
<ul> <ul>
<li><tt>clang --help</tt></li> <li><tt>clang --help</tt></li>
<li><tt>clang file.c -fsyntax-only</tt> (check for correctness)</li> <li><tt>clang file.c -fsyntax-only</tt> (check for correctness)</li>
...@@ -120,10 +120,10 @@ follows:</p> ...@@ -120,10 +120,10 @@ follows:</p>
</li> </li>
</ol> </ol>
<p>Note that the C front-end uses LLVM, but does not depend on llvm-gcc. If you <p>If you encounter problems while building Clang, make sure that your LLVM
encounter problems with building Clang, make sure you have the latest SVN checkout is at the same revision as your Clang checkout. LLVM's interfaces
version of LLVM. LLVM contains support libraries for Clang that will be updated change over time, and mismatched revisions are not expected to work
as well as development on Clang progresses.</p> together.</p>
<h3>Simultaneously Building Clang and LLVM:</h3> <h3>Simultaneously Building Clang and LLVM:</h3>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment