From f6bad8690f9a9bfa3e948a2e37242f1c03c5dca3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 20 Aug 2009 06:17:11 +0000 Subject: [PATCH] Improve the Getting Started and Hacking web pages, patch by John Thompson! llvm-svn: 79518 --- clang/www/get_started.html | 41 +++++++++++++++++++------------------- clang/www/hacking.html | 7 +++++++ 2 files changed, 28 insertions(+), 20 deletions(-) diff --git a/clang/www/get_started.html b/clang/www/get_started.html index 690a91120d16..a2706231b6d8 100644 --- a/clang/www/get_started.html +++ b/clang/www/get_started.html @@ -59,26 +59,28 @@ follows:

http://www.python.org/download -
  • Checkout - and build LLVM from SVN head:
  • - +
  • Checkout LLVM:
  • Checkout Clang:
  • +
  • Build LLVM and Clang:
  • +
  • If you intend to work on Clang C++ support, you may need to tell it how to find your C++ standard library headers. If Clang cannot find your system libstdc++ headers, please follow these instructions:
  • - - -
  • Build Clang:
  • - -
  • Try it out (assuming you add llvm/Debug/bin to your path):
  • -

    Note: Here clang-cc is the "low-level" frontend executable that is similar in purpose to cc1. Clang also has a high-level compiler driver that acts as a drop-in @@ -149,11 +143,18 @@ Visual Studio:

    http://www.cmake.org/cmake/resources/software.html
  • Visual Studio 2005 (VS 2008 may work also - cmake outputs VS2005 project files)
  • -
  • Python. This is need only if you will be running the tests +
  • Python. This is needed only if you will be running the tests (which is essential, if you will be developing for clang). Get it from: http://www.python.org/download
  • +
  • GnuWin32 tools + These are also necessary for running the tests. + (Note that the grep from MSYS or Cygwin doesn't work with the tests + because of embedded double-quotes in the search strings. The GNU + grep does work in this case.) + Get them from + http://getgnuwin32.sourceforge.net.
  • Checkout LLVM:
  • diff --git a/clang/www/hacking.html b/clang/www/hacking.html index 45553222798f..a1833a2326c9 100644 --- a/clang/www/hacking.html +++ b/clang/www/hacking.html @@ -136,6 +136,13 @@ Python, which must be installed. Find Python at: http://www.python.org/download. Download the latest stable version (2.6.2 at the time of this writing).

    + +

    The GnuWin32 tools are also necessary for running the tests. + (Note that the grep from MSYS or Cygwin doesn't work with the tests + because of embedded double-quotes in the search strings. The GNU + grep does work in this case.) + Get them from + http://getgnuwin32.sourceforge.net.

    Creating Patch Files