<br><br><div class="gmail_quote">On Tue, Oct 5, 2010 at 6:44 PM, 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 class="im"><br>
On 6 October 2010 04:25, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; You could do it with the generation expression.  Either have two copies, one of which excludes it (e.g.)<br>
&gt; VMMaker<br>
&gt; generate: CoInterpreter<br>
&gt; to: (FileDirectory default / &#39;../src&#39;) fullName<br>
&gt; platformDir: (FileDirectory default / &#39;../platforms&#39;) fullName<br>
&gt; excluding:#(BrokenPlugin SlangTestPlugin TestOSAPlugin<br>
&gt; FFIPlugin ReentrantARMFFIPlugin ReentrantFFIPlugin ReentrantPPCBEFFIPlugin<br>
&gt; NativeBoostPlugin NewsqueakIA32ABIPlugin NewsqueakIA32ABIPluginAttic)<br>
&gt; or choose the interpreter via a menu and put some logic to test for it being NBCoInterpreter.<br>
<br>
</div>Yes, i did exactly as you describing.<br>
I just wondered if there are some way to automate that, like:<br>
<br>
SomePlugin&gt;&gt;fitsForInterpreter: interpreterClass ...<br>
<br>
And about generated .ext/.int example files, is it normal that some<br>
plugins included multiple times:<br>
<br>
&gt;&gt; SqueakFFIPrims \<br>
&gt;&gt; SqueakFFIPrims \<br>
&gt;&gt; SqueakFFIPrims \<br>
&gt;&gt; SqueakFFIPrims \<br>
<br>
?<br>
As to me it looks like a bad example to follow :)<br></blockquote><div><br></div><div>That&#39;s simply the various forms of the FFI naming themselves the same thing.  These are </div><div><br></div><div>ReentrantFFIPlugin (abstract)</div>
ReentrantARMFFIPlugin<div>ReentrantIA32FFIPlugin</div>ReentrantPPCFFIPlugin</div><div class="gmail_quote"><br></div><div class="gmail_quote">One&#39;s going to generate one of the concrete classes, and the above is an example file, so the above can be ignored.</div>
<div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888">
--<br>
</font><div><div></div><div class="h5">Best regards,<br>
Igor Stasenko AKA sig.<br>
</div></div></blockquote></div><br>