From 4f8857e6f416a04cec9fef5d27e316e237e97fe2 Mon Sep 17 00:00:00 2001
From: Rafael Espindola
Date: Fri, 29 Oct 2010 22:05:17 +0000
Subject: [PATCH] Use objdir != srcdir in the getting started doc.
llvm-svn: 117723
---
clang/www/get_started.html | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/clang/www/get_started.html b/clang/www/get_started.html
index 34fed955879d..6d4e75f330f3 100644
--- a/clang/www/get_started.html
+++ b/clang/www/get_started.html
@@ -51,8 +51,11 @@ follows:
Build LLVM and Clang:
- - cd .. (back to llvm)
- - ./configure
+ - cd ../.. (back to where you started)
+ - mkdir build (for building without polluting the source dir)
+
+ - cd build
+ - ../llvm/configure
- make
- This builds both LLVM and Clang for debug mode.
- Note: For subsequent Clang development, you can just do make at the