<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'>Hi Eliot,<br><br>Thank you, that information is&nbsp; a time saver.<br><br>I <b>will</b> be needing a unixbuild in the oscogvm/ subdirectory alongside of the cygwinbuild,macbuild directories.<br><br>I am pretty sure I am generating the correct sources&nbsp; because I spent a good hour tracking down a duplicate instance variable error that was caused by me&nbsp; trying to generate the sources for&nbsp; the StackIntepreterSimulator instead of the StackInterpeter (:<br>Tracking that down led me to the&nbsp; CCodeGeneratorGlobalStructure&nbsp; doing checks on the tree that the source was being generated which you can see here:<br><br><br><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div>'array: &nbsp;&nbsp;&nbsp; {nil . nil . nil . VMClass . ObjectMemory . NewObjectMemory . InterpreterPrimitives . StackInterpreter . StackInterpreterPrimitives . StackInterpreterSimulator . InterpreterStackPages . nil . nil . nil . nil . nil . nil . nil . nil . nil}</div></blockquote> <br>So, my bet is that I am generating the StackInterpeter source.<br><br><br>That is a pretty nifty strategy, btw of "encapsulating" the C-Code generation in that class tree. <br><br><br>When I get this done, I will also reach out to&nbsp; Tim R. and David L. to update their work on the&nbsp; wiki if they are so inclined.<br><br>cordially,<br><br>tty.<br><div id="1"><br>---- On Mon, 17 Feb 2014 15:12:20 -0800 <b>Eliot Miranda&lt;eliot.miranda@gmail.com&gt;</b> wrote ---- <br></div><br><blockquote style="border-left: 1px solid #0000FF; padding-left: 6px; margin:0 0 0 5px"> <div dir="ltr">Hi Tty,<br><div><br><br><div>On Mon, Feb 17, 2014 at 3:02 PM, gettimothy <span dir="ltr">&lt;<a subj="" mailid="gettimothy%40zoho.com" href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt;</span> wrote:<br> <blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">&nbsp;<br><u></u><div><div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif"> Howdy,<br><br>I figured its time to build the StackInterpreter so I can get my hands dirty with plugins and maybe figure out the keyEvents at that level.<br></div></div></blockquote><div><br></div><div>If you're working on my Cog main branch you should &nbsp;check out</div> <div>&nbsp; &nbsp;&nbsp;<a href="http://www.squeakvm.org/svn/squeak/branches/Cog" target="_blank">http://www.squeakvm.org/svn/squeak/branches/Cog</a></div><div>in a directory named oscogvm, at the same level as your image,</div><div>generate sources to</div> <div>&nbsp; &nbsp; oscogvm/stacksrc (<a href="http://www.squeakvm.org/svn/squeak/branches/Cog/stacksrc" target="_blank">http://www.squeakvm.org/svn/squeak/branches/Cog/stacksrc</a>)<br></div><div>and build in any of</div><div>&nbsp; &nbsp; oscogvm/{cygwinbuild,macbuild} (<a href="http://www.squeakvm.org/svn/squeak/branches/Cog/stackbuild/{cygwinbuild,macbuild}" target="_blank"></a><a href="http://www.squeakvm.org/svn/squeak/branches/Cog/stackbuild/" target="_blank">http://www.squeakvm.org/svn/squeak/branches/Cog/stackbuild/</a>{cygwinbuild,macbuild})</div> <div><br></div><div>Let me know if you need a unixbuild there-in (linux) and I'll put one there.</div><div><br></div><div>Look at the methods in VMMaker class configurations protocol for the methods that generate VMs. &nbsp;e.g.&nbsp;generateSqueakStackVM</div> <div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:verdana,arial,helvetica,sans-serif"> After a couple of missteps I was&nbsp; able to generate the source using VMMakerTool just fine into the src directory of<br><br>svn co <a href="http://www.squeakvm.org/svn/squeak/branches/Cog" target="_blank">http://www.squeakvm.org/svn/squeak/branches/Cog</a> tree.&nbsp; (Thanks Tim. R and dtl for the instructions on the wiki <a href="http://wiki.squeak.org/squeak/6177" target="_blank">http://wiki.squeak.org/squeak/6177</a>)<br> <br>After some failed configures and builds, I am thinking I am in the wrong branch and/or subdirectory<br><br>To build the StackInterpreter, should I be on the Squeak branch with its structure? Should I build in Cog branch/unixbuild? or Cog branch/stackbuild? (which does not have a unix build directory)<br> <br><br><a href="http://www.squeakvm.org/svn/squeak/" target="_blank">http://www.squeakvm.org/svn/squeak/</a><br>BRANCH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Build Directory<br>Cog&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unixbuild&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;---I WAS HERE (seemed to build cog fine, replacing svn src/ directory with VMMakerTool generated sources did not configure)<br> Cog&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stackbuild&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;--Should I be here?<br>Squeak&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; platforms/unix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;--or here<br>...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;--or someplace else entirely?<br> <br><br>thx.<br><br>tty<br><br><br><br><br><br></div></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div> </div></div> </blockquote><br></div></body></html>