[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-vm-dev
Subject:    Re: [Vm-dev] What squeakvm.org/branch and subdirecty to use to build the StackInterpreter?
From:       Eliot Miranda <eliot.miranda () gmail ! com>
Date:       2014-02-18 0:02:51
Message-ID: CAC20JE1VqHCOmVUj_euTLDTDNCTSvgFgPyEP_LekEE05SF4ANQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #3 (multipart/alternative)]


On Mon, Feb 17, 2014 at 3:51 PM, gettimothy <gettimothy@zoho.com> wrote:

> 
> Hi Eliot,
> 
> Thank you, that information is  a time saver.
> 
> I *will* be needing a unixbuild in the oscogvm/ subdirectory alongside of
> the cygwinbuild,macbuild directories.
> 

OK, it's there.  You'll want to generate the VMs in bldt, dbgbltt, astbltt
if possible.  There use a threaded heartbeat, but only work on later
linuxes.


> 
> I am pretty sure I am generating the correct sources  because I spent a
> good hour tracking down a duplicate instance variable error that was caused
> by me  trying to generate the sources for  the StackIntepreterSimulator
> instead of the StackInterpeter (:
> Tracking that down led me to the  CCodeGeneratorGlobalStructure  doing
> checks on the tree that the source was being generated which you can see
> here:
> 
> 
> 'array:     {nil . nil . nil . VMClass . ObjectMemory . NewObjectMemory .
> InterpreterPrimitives . StackInterpreter . StackInterpreterPrimitives .
> StackInterpreterSimulator . InterpreterStackPages . nil . nil . nil . nil .
> nil . nil . nil . nil . nil}
> 
> 
> So, my bet is that I am generating the StackInterpeter source.
> 
> 
> That is a pretty nifty strategy, btw of "encapsulating" the C-Code
> generation in that class tree.
> 
> 
> When I get this done, I will also reach out to  Tim R. and David L. to
> update their work on the  wiki if they are so inclined.
> 
> cordially,
> 
> tty.
> 
> ---- On Mon, 17 Feb 2014 15:12:20 -0800 *Eliot
> Miranda<eliot.miranda@gmail.com <eliot.miranda@gmail.com>>* wrote ----
> 
> Hi Tty,
> 
> 
> On Mon, Feb 17, 2014 at 3:02 PM, gettimothy <gettimothy@zoho.com> wrote:
> 
> 
> Howdy,
> 
> 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.
> 
> 
> If you're working on my Cog main branch you should  check out
> http://www.squeakvm.org/svn/squeak/branches/Cog
> in a directory named oscogvm, at the same level as your image,
> generate sources to
> oscogvm/stacksrc (
> http://www.squeakvm.org/svn/squeak/branches/Cog/stacksrc)
> and build in any of
> oscogvm/{cygwinbuild,macbuild} \
> (<http://www.squeakvm.org/svn/squeak/branches/Cog/stackbuild/%7Bcygwinbuild,macbuild%7D>
>  http://www.squeakvm.org/svn/squeak/branches/Cog/stackbuild/
> {cygwinbuild,macbuild})
> 
> Let me know if you need a unixbuild there-in (linux) and I'll put one
> there.
> 
> Look at the methods in VMMaker class configurations protocol for the
> methods that generate VMs.  e.g. generateSqueakStackVM
> 
> After a couple of missteps I was  able to generate the source using
> VMMakerTool just fine into the src directory of
> 
> svn co http://www.squeakvm.org/svn/squeak/branches/Cog tree.  (Thanks
> Tim. R and dtl for the instructions on the wiki
> http://wiki.squeak.org/squeak/6177)
> 
> After some failed configures and builds, I am thinking I am in the wrong
> branch and/or subdirectory
> 
> 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)
> 
> 
> http://www.squeakvm.org/svn/squeak/
> BRANCH                           Build Directory
> Cog                                  unixbuild
> <---I WAS HERE (seemed to build cog fine, replacing svn src/ directory with
> VMMakerTool generated sources did not configure)
> Cog                                  stackbuild
> <--Should I be here?
> Squeak                            platforms/unix                   <--or
> here
> ...
> <--or someplace else entirely?
> 
> 
> thx.
> 
> tty
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> best,
> Eliot
> 
> 
> 
> 


-- 
best,
Eliot


[Attachment #6 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, \
Feb 17, 2014 at 3:51 PM, gettimothy <span dir="ltr">&lt;<a \
href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> <br><u></u><div><div \
style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif">Hi \
Eliot,<br><br>Thank you, that information is  a time saver.<br> <br>I <b>will</b> be \
needing a unixbuild in the oscogvm/ subdirectory alongside of the \
cygwinbuild,macbuild directories.<br></div></div></blockquote><div><br></div><div>OK, \
it&#39;s there.  You&#39;ll want to generate the VMs in bldt, dbgbltt, astbltt if \
possible.  There use a threaded heartbeat, but only work on later linuxes.</div> \
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div><div \
style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif"><br>I am pretty \
sure I am generating the correct sources  because I spent a good hour tracking down a \
duplicate instance variable error that was caused by me  trying to generate the \
sources for  the StackIntepreterSimulator instead of the StackInterpeter (:<br> \
Tracking that down led me to the  CCodeGeneratorGlobalStructure  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>&#39;array:     \
{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 &quot;encapsulating&quot; \
the C-Code generation in that class tree. <br><br><br>When I get this done, I will \
also reach out to  Tim R. and David L. to update their work on the  wiki if they are \
so inclined.<br> <br>cordially,<br><br>tty.<br><div><br>---- On Mon, 17 Feb 2014 \
15:12:20 -0800 <b>Eliot Miranda&lt;<a href="mailto:eliot.miranda@gmail.com" \
target="_blank">eliot.miranda@gmail.com</a>&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 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">
  <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&#39;re working on my Cog main \
branch you should  check out</div> <div>    <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>    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>    oscogvm/{cygwinbuild,macbuild} (<a \
href="http://www.squeakvm.org/svn/squeak/branches/Cog/stackbuild/%7Bcygwinbuild,macbuild%7D" \
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&#39;ll put one there.</div><div><br></div><div>Look at the methods in VMMaker class \
configurations protocol for the methods that generate VMs.  e.g. \
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  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.  (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                     \
Build Directory<br>Cog                                  unixbuild                     \
&lt;---I WAS HERE (seemed to build cog fine, replacing svn src/ directory with \
VMMakerTool generated sources did not configure)<br>  Cog                             \
stackbuild                       &lt;--Should I be here?<br>Squeak                    \
platforms/unix                   &lt;--or here<br>...                                 \
&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></div><br></blockquote></div><br><br clear="all"> \
<div><br></div>-- <br>best,<div>Eliot</div> </div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic