<br><br><div class="gmail_quote">On Fri, Dec 10, 2010 at 8:57 PM, John M McIntosh <span dir="ltr">&lt;<a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 <br><div style="word-wrap: break-word;"><div>There are some changes that are not integrated. </div><div><br></div><div>readImageFromFileHeapSizeStartingAt</div><div>sqAllocateMemory</div><div>sqImageFileRead</div><div><br>
</div><div>See the Squeak VMMaker source for the change sets needed to alter the header for readImageFromFileHeapSizeStartingAt</div><div>and the new logic for sqAllocateMemory &amp; sqImageFileRead that let&#39;s you mmap the image file in sqAllocateMemory and not assume you&#39;ll read the entire file into memory in sqImageFileRead</div>
<div><br></div></div></blockquote><div><br>Hi John. Where are exactly these changes you are talking about (sqAllocateMemory &amp; sqImageFileRead )<br><br>thanks in advance,<br><br>Mariano<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;"><div></div><div><br><div><div>On 2010-12-10, at 10:11 AM, Esteban Lorenzano wrote:</div><br><blockquote type="cite"><div style="word-wrap: break-word;"><div>Hi,</div>Yep, the iOS StackVM is on the trunk, but still not compiling out of the box (at least for me...). I&#39;m working on that now :)<div>
<br></div><div>Cheers,</div><div>Esteban<br><div><div><br></div><div>El 10/12/2010, a las 2:49p.m., Eliot Miranda escribió:</div><br><blockquote type="cite">Hi Mariano,<br><br><div class="gmail_quote">On Fri, Dec 10, 2010 at 6:57 AM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 <br>Hi eliot. I am using CoreVM.xcodeproj  to compile a CogVM. I have integrated several of my own changes that I used to have in standard vm into cog...As expected, I have several errors/crash and so I thought that a first step would be to make it work with StackVM and then in Cog...<br>


<br>So, I want to compile and debug the StackVM using XCode. I tried using the CoreVM.xcodeproj but it seems it is prepared for CogVM. For example, it expects de files cogit.c and cogit.h  althought they are not generated when creating a StackVM. <br>


<br>My question is, is there somewhere a .xcodeproj for the stackVM? or some option inside the CoreVM.xcodeproj   to say that I want to compile a StackVM ?<br></blockquote><div><br></div><div>Take a copy of the macbuild directory, call it e.g. macstackbuild, and point the new CoreVM xcode project at ../stacksrc instead of ../src, and to compile gcc3x-interp.c instead of cogit.c and gcc3x-cointerp.c and you should be able to build a stack vm.  You can do this either by editing the CoreVM.xcodeproj/project.pbxproj file by hand (it has UUIDs for files so it can be tedious) or using Xcode itself (it has an arcane way of specifying include paths and #defines, so it can be tedious).</div>

<div><br></div><div>John McIntosh has already built a stackvm and is using it routinely on the iPhone.  I&#39;m not sure if the build directory or xcode project is in svn, but knowing john it probably is.</div><div><br></div>

<div>HTH</div><div>Eliot</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>Thanks in advance,<br><br>Mariano<br>
<br></blockquote></div><br>
</blockquote></div><br></div></div></blockquote></div><br><div>
<div style="word-wrap: break-word; font-size: 12px;"><div style="word-wrap: break-word;"><div><div style="margin: 0px;"><div style="word-wrap: break-word;"><div style="word-wrap: break-word;"><div style="margin: 0px;"><font face="Helvetica" size="3">--</font></div>
<div style="margin: 0px;"><font face="Helvetica" size="3">===========================================================================</font></div><div style="margin: 0px;"><font face="Helvetica" size="3">John M. McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com" target="_blank">johnmci@smalltalkconsulting.com</a>&gt;   Twitter:  squeaker68882</font></div>
<div style="margin: 0px;"><font face="Helvetica" size="3">Corporate Smalltalk Consulting Ltd.  <a href="http://www.smalltalkconsulting.com" target="_blank">http://www.smalltalkconsulting.com</a></font></div><div style="margin: 0px;">
<font face="Helvetica" size="3">===========================================================================</font></div><div><br></div></div></div></div></div></div></div><br><br>
</div>
<br></div></div><br></blockquote></div><br>