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