<br><br><div class="gmail_quote">On Thu, Mar 17, 2011 at 10:32 AM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 17 March 2011 18:22, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Mar 17, 2011 at 10:13 AM, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 17 March 2011 18:07, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Thu, Mar 17, 2011 at 7:46 AM, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi, Eliot<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; is your new stuff having platform-specific files changes?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The Sista stuff requires nothing new.   I think I&#39;ve already integrated<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; changes necessary for the threaded VM but I&#39;ve only tried to build the<br>
&gt;&gt; &gt; threaded VM against the Teleplace platforms hierarchy, not yet against<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; oscog platforms hierarchy.  So if you try and build the threaded VM you<br>
&gt;&gt; &gt; may<br>
&gt;&gt; &gt; hit problems, you may not.  I&#39;ll get around to doing that soon.<br>
&gt;&gt;<br>
&gt;&gt; and sorry for ignorance..<br>
&gt;&gt; what is the magic invocation for generating sources for threaded VMs?<br>
&gt;<br>
&gt; Just substitute CoInterpreterMT for CoInterpreter.  Then you&#39;ll find<br>
&gt;     src/vm/cointerpmt.c             src/vm/gcc3x-cointerpmt.c<br>
&gt;     src/vm/cointerpmt.h<br>
&gt; You must also generate CoInterpreterMT second, and then src/vm/interp.h will<br>
&gt; read:<br>
&gt; /* Automatically generated by<br>
&gt;         CCodeGeneratorGlobalStructure VMMaker-eem.734 uuid:<br>
&gt; cf815676-05e1-44d8-be7f-62138a99b532<br>
&gt;  */<br>
&gt; #define COGVM 1<br>
&gt; #if !defined(COGMTVM)<br>
&gt; #       define COGMTVM 1<br>
&gt; #endif<br>
&gt; #define STACKVM 1<br>
&gt; #define SQ_VI_BYTES_PER_WORD 4<br>
&gt; #define PrimErrGenericFailure 1<br>
&gt; #define PrimErrBadReceiver 2<br>
&gt; #define PrimErrBadArgument 3<br>
&gt; #define PrimErrBadIndex 4<br>
&gt; #define PrimErrBadNumArgs 5<br>
&gt; #define PrimErrInappropriate 6<br>
&gt; #define PrimErrUnsupported 7<br>
&gt; #define PrimErrNoModification 8<br>
&gt; #define PrimErrNoMemory 9<br>
&gt; #define PrimErrNoCMemory 10<br>
&gt; #define PrimErrNotFound 11<br>
&gt; #define PrimErrBadMethod 12<br>
&gt; #define PrimErrNamedInternal 13<br>
&gt; #define PrimErrObjectMayMove 14<br>
&gt; #define PrimErrLimitExceeded 15<br>
&gt; #define DisownVMLockOutFullGC 1<br>
&gt;  and then in one set of makefiles use -DCOGMTVM=0 and pickup cointerp.c or<br>
&gt; gcc3x-cointerp.c and in the other use -DCOGMTVM=1 and pickup cointerpmt.c or<br>
&gt; gcc3x-cointerpmt.c<br>
&gt; Look for #if COGMTVM &amp; #if !COGMTVM in the platforms sources to see where<br>
&gt; the additions are.  Make sure you use the ThreadedFFIPlugin<br>
&gt; (ThreadedIA32FFIPlugin on x86).<br>
<br>
<br>
</div></div>Thanks. The idea is as usual is to  gather this information into separate<br>
CogMT&lt;Platform&gt;Config in CMakeVMMaker package<br>
<br>
so people could reproduce and build this kind of VMs without much hassle.<br>
<br>
:P<br></blockquote><div><br></div><div>You understand how that&#39;s done so you go do it.  I understand how to write the VM and build it in a crappy way but I&#39;m still contributing.  I don&#39;t /have/ to do things your way.  I would like to use Hudson but will need handholding (and I presume a login) before I can do so.  I hope to get a little help.</div>
<div><br></div><div>best</div><div>Eliot </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I&#39;m asking because i&#39;d like to merge it with<br>
&gt;&gt; &gt;&gt; VMMaker-oscog-EstebanLorenzano.50<br>
&gt;&gt; &gt;&gt; and then bump the package versions in ConfigurationOfCog<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; Best regards,<br>
&gt;&gt; &gt;&gt; Igor Stasenko AKA sig.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Igor Stasenko AKA sig.<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div>--<br>
<div><div></div><div class="h5">Best regards,<br>
Igor Stasenko AKA sig.<br>
</div></div></blockquote></div><br>