diff --git a/clang/www/get_involved.html b/clang/www/get_involved.html index e191bfec2e0a..ef377ccab426 100644 --- a/clang/www/get_involved.html +++ b/clang/www/get_involved.html @@ -43,27 +43,47 @@ as well.
  • cfe-dev - This list is for everything else clang related.

    Building clang / working with the code 

    -If you would like to check out and build the project, the current scheme is:
    +If you would like to check out and build the project, the current scheme is:

    +
      -
    1. Check out llvm +
    2. Checkout and build LLVM + (latest + instructions for SVN access)
    3. +
    4. Checkout clang
    5. +
    6. Non-mac users: Paths to system header files are currently hard coded - into the tool; as a result, if clang can't find your system headers, + into clang; as a result, if clang can't find your system headers, please follow these instructions:
        -
      • 'touch empty.c; gcc -v empty.c -fsyntax-only' to get the path. +
      • 'touch empty.c; gcc -v empty.c -fsyntax-only' to get the path.
      • change clang/Driver/clang.cpp:606 to include that path
      -
    7. Build llvm +
    8. Build clang
    -

    Note that the C front-end uses LLVM, but does not depend on llvm-gcc :)

    +
    + +

    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.


    We will eventually integrate this better as a sub-project, but for now it builds a single tool named 'clang'.
    Once llvm is built in this way, you can compile C code.