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

List:       squeak-vm-dev
Subject:    =?UTF-8?Q?Re:_[Vm-dev]_What_squeakvm.org/branch_and_subd?= =?UTF-8?Q?irecty_to_use_to_build=C2=A0?=
From:       gettimothy <gettimothy () zoho ! com>
Date:       2014-02-18 0:10:35
Message-ID: 144425341b8.1991040214404694461.-131619272826638874 () zoho ! com
[Download RAW message or body]

[Attachment #3 (multipart/alternative)]


Excellent.

Thank you. I will approach this in the a.m. when I am alert again.

cheers.

tty.



---- On Mon, 17 Feb 2014 16:02:51 -0800 Eliot Miranda&lt;eliot.miranda@gmail.com&gt; \
wrote ---- 


 


On Mon, Feb 17, 2014 at 3:51 PM, gettimothy &lt;gettimothy@zoho.com&gt; 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&lt;eliot.miranda@gmail.com&gt; \
wrote ---- 


 Hi Tty,


On Mon, Feb 17, 2014 at 3:02 PM, gettimothy &lt;gettimothy@zoho.com&gt; 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/{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                         &lt;---I WAS \
HERE (seemed to build cog fine, replacing svn src/ directory with VMMakerTool \
generated sources did not configure)  Cog                                  stackbuild \
&lt;--Should I be here? Squeak                            platforms/unix              \
                &lt;--or here
...                                                                          &lt;--or \
someplace else entirely?  

thx.

tty













-- 
best,Eliot
 

 






 

-- 
best,Eliot
 

 


[Attachment #6 (text/html)]

<!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;'>Excellent.<br><br>Thank \
you. I will approach this in the a.m. when I am alert \
again.<br><br>cheers.<br><br>tty.<br><br><br><div id="1"><br>---- On Mon, 17 Feb 2014 \
16:02:51 -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"><br><div><br><br><div>On Mon, Feb 17, 2014 at 3:51 \
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:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">&nbsp;<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&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></div></div></blockquote><div><br></div><div>OK, \
it's there. &nbsp;You'll want to generate the VMs in bldt, dbgbltt, astbltt if \
possible. &nbsp;There use a threaded heartbeat, but only work on later linuxes.</div> \
<div>&nbsp;</div><blockquote 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&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><br>---- On Mon, 17 Feb 2014 15:12:20 -0800 \
<b>Eliot Miranda&lt;<a subj="" mailid="eliot.miranda%40gmail.com" \
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 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/%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'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;&nb \
sp;&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;&nbs \
p;&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;&n \
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs \
p;&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></div><br></blockquote></div><br><br clear="all"> \
<div><br></div>-- <br>best,<div>Eliot</div> </div></div> \
</blockquote><br></div></body></html>



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

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