<div>Hi Eli,</div>
<div> I think the llvm configure has already configured with ffi.</div>
<div> </div>
<div>../llvm-2.6/configure -help | grep ffi<br> --enable-libffi Check for the presence of libffi (default is YES)<br><br> In addition, the printf() can work in program, reflecting that libffi is working, right?</div>
<div> How can I make Interpreter work with getpid(), fork(), and clone()?</div>
<div> </div>
<div> </div>
<div class="gmail_quote">On Thu, Dec 31, 2009 at 2:33 AM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com">eli.friedman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On Thu, Dec 31, 2009 at 2:26 AM, Heming Cui <<a href="mailto:heming@cs.columbia.edu">heming@cs.columbia.edu</a>> wrote:<br>> Hi Eli,<br>> Thanks for your reply. If I add -force-interpreter to lli, then it seems<br>
> that it can not run external function like printf or malloc. Is there any<br>> easy way to solve this problem?<br><br></div>Does the LLVM configure find libffi?<br><font color="#888888"><br>-Eli<br><br></font></blockquote>
</div><br><br clear="all"><br>-- <br>Regards,<br>Heming Cui<br>