The whole purpose of the document is to teach the user how to build with MinGW - without Microsoft Visual Studio.  As far as I know, MSVS cannot be used together with Clang and I think many people are interested in trying out Clang.  That's what I am trying to make them able to do without requiring the installation of MSVS.<br>
<br><div class="gmail_quote">2012/6/17 NAKAMURA Takumi <span dir="ltr"><<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/6/16 Justin Holewinski <<a href="mailto:justin.holewinski@gmail.com">justin.holewinski@gmail.com</a>>:<br>
<div class="im">> Under Python installation, you mention that Python is only needed for the<br>
> test suite.  This is not true, as the normal LLVM build still requires<br>
> Python.<br>
<br>
</div>That's right. Now, python>=2.4 is essential.<br>
(In contrast, perl is not required, IIRC)<br>
<div class="im"><br>
> I would seriously consider splitting this up into "building LLVM/Clang" and<br>
> then "getting and running the test suite."  At first glance, a Windows user<br>
> may get overwhelmed by the number of steps that are listed in this document.<br>
>  But only a handful of them are actually needed if you just want to build<br>
> LLVM/Clang and do not care about the test suite.  Or at the very least<br>
> include a Windows quick-start guide at the beginning which just lists<br>
> Python, CMake, and MinGW.  And then introduce Subversion if they want the<br>
> latest sources, then everything else if they want to run the test suite.<br>
<br>
</div>As long as building llvm and clang with cmake on win32,<br>
We may say, "Choose your compiler, mingw32-gcc.exe or ms cl.exe (or,<br>
mingw32-clang.exe)"<br>
Processes among compilers would be similar.<br>
<br>
Suggested sections;<br>
<br>
  - Install CMake<br>
  - Install Python<br>
    - Install VS Express (optional)<br>
    - Install mingw32 (optional)<br>
    - Install MSYS (optional)<br>
  - Configure your build with cmake<br>
    - Build and install on VS<br>
    - Build and install on MSYS (or mingw32 cmd.exe)<br>
  - Inter-platform testing with Lit<br>
  - Run test-suite with Cygwin (optional! Also Takumi has not tried ever!)<br>
<br>
BTW, shall we introduce "msbuild" here, too?<br>
<br>
msbuild -m -nologo -v:m tools\clang\test\clang-test.vcxproj -p:Configuration=%1<br>
<span class="HOEnZb"><font color="#888888"><br>
...Takumi<br>
</font></span></blockquote></div><br>