Hi,<br>I was trying to write a LLVM Pass, so I first read <a href="http://llvm.org/docs/WritingAnLLVMPass.html#quickstart">http://llvm.org/docs/WritingAnLLVMPass.html#quickstart</a> about how to write a llvm pass. Here, under setting up the build environment settings, it was instructed to configure and build LLVM directly inside the
LLVM source tree rather than in a separate objects directory. <br>Now, my LLVM source tree is C:\LLVM\llvm-2.9 while my build is in C:\LLVM\llvm-2.9\BUILD ( as per the instructions given here <a href="http://lyuts.net/blog/2010/06/llvm-clang-mingw">http://lyuts.net/blog/2010/06/llvm-clang-mingw</a> ). <br>
So, I decided to delete my build and rebuild it directly inside the LLVM source directory ( C:\LLVM\llvm-2.9 ) and I read this page on how to build LLVM using CMake <a href="http://llvm.org/docs/CMake.html">http://llvm.org/docs/CMake.html</a>. But, this page says that "CMake is not
supported to build LLVM on the source directory". Do they not contradict each other?<br>I have been trying to build LLVM and run this Hello pass ( C:\LLVM\llvm-2.9\lib\Transforms\Hello\) for quite some time and tried many methods, but sadly without successful results. Can someone please give me <b>the correct and tested steps</b> about 1. how to configure and build LLVM in windows 2. how to run an LLVM pass in Windows.<br clear="all">
<br>-- <br>Thanks,<br><b>HIMANSHU SHEKHAR</b><br><span style="font-family:arial,helvetica,sans-serif"></span><br>