<br><br><div class="gmail_quote">On Fri, Mar 27, 2009 at 11:18 PM, jstanier <span dir="ltr"><<a href="mailto:j.stanier@sussex.ac.uk">j.stanier@sussex.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
Hi again everyone...<br>
<br>
After following the "Writing an LLVM Pass" tutorial using LLVM 2.5, there is<br>
a part that states that:<br>
<br>
"This makefile specifies that all of the .cpp files in the current directory<br>
are to be compiled and linked together into a Debug/lib/Hello.so shared<br>
object that can be dynamically loaded by the opt or bugpoint tools via their<br>
-load options."<br>
<br>
<a href="http://llvm.org/docs/WritingAnLLVMPass.html#makefile" target="_blank">http://llvm.org/docs/WritingAnLLVMPass.html#makefile</a><br>
<br>
However, I find that on both my Mac laptop and Mac desktop no such .so files<br>
are built (nor the Debug/ directory), and this is also the case with the<br>
Hello example pass that comes pre-packaged with the source. Is this a known<br>
OS X problem that anyone has any experience with? Or is the documentation<br>
slightly out of date?<br>
<br>
When building the Hello pass, it just creates a Release/ directory, which<br>
has a /bin containing Hello.d, Hello.o and Hello.lo. Is this normal? I'm<br>
fairly sure all of my Makefiles are correct when checked against the<br>
documentation.<br>
</blockquote><div>the .so file gets build in the directory <path to llvm installation>/llvm-2.4/Release/lib/ <br></div></div>for the 2.4 release. I think i should be similar for other releases<br><br clear="all"><br>

-- <br>Kshitiz Garg<br>Graduate Student<br>Department of Computer Science & Engineering<br>IIT Kanpur<br><a href="http://home.iitk.ac.in/~kshitizg">http://home.iitk.ac.in/~kshitizg</a><br>