<div>Try:</div>
<div> </div>
<div>cmake -G "Visual Studio 9 2008" .</div>
<div> </div>
<div>I'll update the docs.</div>
<div> </div>
<div>-John<br></div>
<div class="gmail_quote">On Thu, Nov 5, 2009 at 12:18 PM, Victor Martin Ulloa <span dir="ltr"><<a href="mailto:pelotoescogorciao@yahoo.es">pelotoescogorciao@yahoo.es</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I followed the clang instructions in <a href="http://clang.llvm.org/get_started.html" target="_blank">http://clang.llvm.org/get_started.html</a> for VS:<br>
<br>   # Checkout LLVM:<br><br>   * svn co <a href="http://llvm.org/svn/llvm-project/llvm/trunk" target="_blank">http://llvm.org/svn/llvm-project/llvm/trunk</a> llvm<br><br>   # Checkout Clang:<br><br>   * cd llvm\tools<br>
   * svn co <a href="http://llvm.org/svn/llvm-project/cfe/trunk" target="_blank">http://llvm.org/svn/llvm-project/cfe/trunk</a> clang<br><br>   # Run cmake to generate the Visual Studio solution and project files:<br><br>
   * cd .. (Change directory back to the llvm top.)<br>   * cmake .<br>   * The above, if successful, will have created an LLVM.sln file in the llvm directory.<br><br>   # Build Clang:<br><br>   * Open LLVM.sln in Visual Studio.<br>
   * Build the "clang-cc" project for just the compiler front end.<br><br><br><br>but I got some errors after compiling the LLVM.sln clang-cc project....<br><br>Code: Select all<br>   .\RWMutex.cpp(39) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory<br>
   .\raw_ostream.cpp(28) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory<br>   .\Errno.cpp(51) : error C3861: 'strerror_r': identifier not found<br>   .\Atomic.cpp(49) : error C2664: 'InterlockedCompareExchange' : cannot convert parameter 1 from 'volatile llvm::sys::cas_flag *' to 'volatile LONG *'<br>
   .\IsNAN.cpp(31) : error C3861: 'isnan': identifier not found<br><br><br><br>It seems there's no way to compile the clang-cc.exe from the source code for Windows/VS2008 ...<br><br><br><br><br>_______________________________________________<br>
cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>