From: Reid Kleckner
Date: Mon, 11 Apr 2016 17:02:34 +0000 (+0000)
Subject: Update getting started docs
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=500f78682b7f5bccc354fcf837bda5e3fd7436e4;p=clang
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
---
diff --git a/www/get_started.html b/www/get_started.html
index bc0a288e96..1b44152a00 100644
--- a/www/get_started.html
+++ b/www/get_started.html
@@ -68,7 +68,7 @@ follows:
cd ../../../..
- Checkout Compiler-RT:
+ Checkout Compiler-RT (optional):
- cd llvm/projects
- svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk
@@ -109,7 +109,7 @@ follows:
scenarios, you can use the -DGCC_INSTALL_PREFIX cmake option
to tell Clang where the gcc containing the desired libstdc++ is installed.
- - Try it out (assuming you add llvm/Debug+Asserts/bin to your path):
+
- Try it out (assuming you add llvm/build/bin to your path):
- clang --help
- clang file.c -fsyntax-only (check for correctness)
@@ -120,10 +120,10 @@ follows:
-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 support libraries for Clang that will be updated
-as well as development on Clang progresses.
+If you encounter problems while building Clang, make sure that your LLVM
+checkout is at the same revision as your Clang checkout. LLVM's interfaces
+change over time, and mismatched revisions are not expected to work
+together.
Simultaneously Building Clang and LLVM: