diff options
Diffstat (limited to 'www/get_started.html')
-rw-r--r-- | www/get_started.html | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/www/get_started.html b/www/get_started.html index b64a5f2..54f7442 100644 --- a/www/get_started.html +++ b/www/get_started.html @@ -19,10 +19,13 @@ options. This should get you up and running with the minimum of muss and fuss. If you like what you see, please consider <a href="get_involved.html">getting involved</a> with the Clang community. If you run into problems, please file -bugs in <a href="http://llvm.org/bugs/">LLVM Bugzilla</a> or bring up the issue -on the -<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">Clang development -mailing list</a>.</p> +bugs in <a href="http://llvm.org/bugs/">LLVM Bugzilla</a>.</p> + +<h2 id="download">Release Clang Versions</h2> + +<p>Clang has been released as part of regular LLVM releases since LLVM 2.6. You +can download the release versions +from <a href="http://llvm.org/releases/">http://llvm.org/releases/</a>.</p> <h2 id="build">Building Clang and Working with the Code</h2> @@ -54,8 +57,11 @@ follows:</p> </ul> <li>Build LLVM and Clang:</li> <ul> - <li><tt>cd ..</tt> (back to llvm)</li> - <li><tt>./configure</tt></li> + <li><tt>cd ../..</tt> (back to where you started)</li> + <li><tt>mkdir build</tt> (for building without polluting the source dir) + </li> + <li><tt>cd build</tt></li> + <li><tt>../llvm/configure</tt></li> <li><tt>make</tt></li> <li>This builds both LLVM and Clang for debug mode.</li> <li>Note: For subsequent Clang development, you can just do make at the @@ -119,7 +125,7 @@ Visual Studio:</p> project files. Get it from: <a href="http://www.cmake.org/cmake/resources/software.html"> http://www.cmake.org/cmake/resources/software.html</a></li> - <li><b>Visual Studio 2005 or 2008</b></li> + <li><b>Visual Studio 2005, 2008, or 2010</b></li> <li><b>Python</b>. This is needed only if you will be running the tests (which is essential, if you will be developing for clang). Get it from: @@ -145,9 +151,12 @@ Visual Studio:</p> </ul> <li>Run cmake to generate the Visual Studio solution and project files:</li> <ul> - <li><tt>cd ..</tt> (Change directory back to the llvm top.)</li> - <li>If you are using Visual Studio 2005: <tt>cmake .</tt></li> - <li>Or if you are using Visual Studio 2008: <tt>cmake -G "Visual Studio 9 2008" .</tt></li> + <li><tt>cd ..\..</tt> (back to where you started)</li> + <li><tt>mkdir build</tt> (for building without polluting the source dir)</li> + <li><tt>cd build</tt></li> + <li>If you are using Visual Studio 2005: <tt>cmake -G "Visual Studio 8 2005" ..\llvm</tt></li> + <li>Or if you are using Visual Studio 2008: <tt>cmake -G "Visual Studio 9 2008" ..\llvm</tt></li> + <li>Or if you are using Visual Studio 2010: <tt>cmake -G "Visual Studio 10" ..\llvm</tt></li> <li>The above, if successful, will have created an LLVM.sln file in the llvm directory. </ul> |