<div class="gmail_quote">On Tue, Feb 14, 2012 at 8:21 PM, bob <span dir="ltr"><<a href="mailto:bobatnet@gmail.com">bobatnet@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<font face="garamond, serif" size="4">I am trying to compile this code into a standalone executable, but all I am getting is an error:</font><div><font face="garamond, serif" size="4"><br></font></div><div>

<font face="garamond, serif" size="4">(defun callme () (format t "hello"))</font></div><div><font face="garamond, serif" size="4"><br></font></div><div><font face="garamond, serif" size="4">(callme)</font></div>



<div><font face="garamond, serif" size="4">(sleep 3)</font></div><div><font face="garamond, serif" size="4">(quit)</font></div><div><font face="garamond, serif" size="4"><br></font></div><div><font face="garamond, serif" size="4">The compilation phase gets over fine, emtting hello.obj. But while building the standalone binary, it says that it cant find the program entry point:</font></div>



<div><font face="garamond, serif" size="4"><br></font></div><div><font face="garamond, serif" size="4">>> (c:build-program "hello" :lisp-files '("hello.obj"))</font></div><div>

<font face="garamond, serif" size="4"><br></font></div><div><font face="garamond, serif" size="4">Debugger received error: Cannot find out entry point for binary file hello.obj</font></div></blockquote></div><div><br></div>

<div>The previous line has already been executed from the debugger. This points out that the compiler found an error and aborted compilation, which is why hello.obj does not have any entry point. I have tried this all with a trivial file in Windows and it works (log attached).</div>

<div><br></div><div>Juanjo</div><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>