[LLVMdev] Issues with running the LLVMHello Pass on Windows
imhimanshu91 at gmail.com
Tue Oct 18 17:20:58 PDT 2011
I was trying to write a LLVM Pass, so I first read
http://llvm.org/docs/WritingAnLLVMPass.html#quickstart 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.
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
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 http://llvm.org/docs/CMake.html. But, this page says that
"CMake is not supported to build LLVM on the source directory". Do they not
contradict each other?
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 *the
correct and tested steps* about 1. how to configure and build LLVM in
windows 2. how to run an LLVM pass in Windows.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev