<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 11, 2014 at 7:41 AM, 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: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">
<div>Hi Eliot.<br></div><div><br></div><div><div>I searched my emails for those terms and did not find them. I hope I am not re-asking a question you answered earlier.</div><div><br></div><div>In plugins.ext for build.linux is SqueakFFIPrims. I need to load the Smalltalk class for CMake. This is determined by the class that answers &#39;SqueakFFIPrims&#39; to the message moduleName</div>
<div><br></div><div><br></div><div></div><br><blockquote style="border:1px solid rgb(204,204,204);padding:7px;background-color:rgb(245,245,245)"><div><div>|s|<br>Transcript clear.<br>InterpreterPlugin allSubclassesDo:[:p|<br>
              p moduleName = &#39;SqueakFFIPrims&#39;<br>                            ifTrue:[Transcript show:p name;cr]].</div></div></blockquote> <br><div><br></div></div><div>Both FFIPlugin and ThreadedFFIPlugin answer SqueakFFIPrims when sent the message moduleName </div>
<div><br></div><div><br></div><div>Does the processor type determine which to use?</div></div></div></blockquote><div><br></div><div>Use  <span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px">ThreadedFFIPlugin.  The FFIPlugin is obsolete (it requires assembler support files, and is non-reentrant).  This should generate in </span><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px">src/plugins/SqueakFFIPrims/{SqueakFFIPrims.c,ARM32FFIPlugin.c,IA32FFIPlugin.c} and you should compile only </span><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px">src/plugins/SqueakFFIPrims/SqueakFFIPrims.c.  </span><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px">src/plugins/SqueakFFIPrims/SqueakFFIPrims.c is a simple wrapper that includes </span><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px">ARM32FFIPlugin.c or IA32FFIPlugin.c as appropriate (and others can be added as they are developed).</span></div>
<div><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px"><br></span></div><blockquote class="gmail_quote" 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"><div><br></div><div>Or is their a  rule for which to use with each of:</div><div><br></div><div>newspeak.cog.spur<br>newspeak.cog.v3<br>newspeak.sista.spur<br>
newspeak.sista.v3<br>newspeak.stack.spur<br>newspeak.stack.v3<br>squeak.cog.spur<br>squeak.cog.v3<br>squeak.sista.spur<br>squeak.sista.v3<br>squeak.stack.spur<br>squeak.stack.v3<br></div><div><br></div><div>?</div><div><br>
</div><div><br></div><div>thx.</div><div><br></div><div>tty</div><div><br></div><div><br></div><div><br></div><br></div></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>