<br><br><div class="gmail_quote">On Sun, Apr 17, 2011 at 12:34 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 class="im"><br>
On 17 April 2011 00:16, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Igor. I was debugging a little the CMake generation and there are 2 things I don&#39;t understand:<br>
&gt;<br>
&gt; 1) Why you always use a &quot;Cross&quot; VMMaker instead of the specific OS ? I mean, in #prepareVMMaker you do:<br>
&gt; maker := VMMaker forPlatform: &#39;Cross&#39;.<br>
&gt; Shouldn&#39;t you put the correct OS ?   what are the differences doing so ?   was the functionality of those special classes like Win32VMMaker, UnixVMMaker, etc.. moved the CMakeVMMaker confs ?<br>
&gt;<br>
<br>
</div>Thanks to Eliot, generated sources are not differ from one to another<br>
platform, therefore Cross is ok. :)<br>
<div class="im"><br></div></blockquote><div><br>Ok, I will add such comment to the code.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
<br>
&gt; 2) Why you see all plugins as external to VMMaker ?  In #prepareVMMaker you do:<br>
&gt;<br>
&gt; allPlugins := self internalPlugins , self externalPlugins.<br>
&gt;<br>
&gt;   maker externalModules addAll:  allPlugins.<br>
&gt;<br>
<br>
</div>This is to specify which plugins sources to generate.<br>
The sources output are not different whether plugin will be external<br>
or not, therefore i just adding them to single list.<br>
<div class="im"><br></div></blockquote><div><br>But since when it is not different?  Again, thanks to Eliot ?<br>I mean, there should be a reason why there were 2 instVar, one for internal and anotehr one for external. In fact, when I used VMMakerTool you need to define for each plugin how to compile it. <br>
This is why I don&#39;t understand why you now say it is the same. <br>I do understand that the sources generation is the same, wether they are internal or external. BUT, why VMMaker needed to know whether they were internal or external then ? and why we don&#39;t need it anymore ?<br>
<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
&gt;<br>
&gt; I think this deserves a comment because it sounds pretty weird from a newbie sight.<br>
&gt;<br>
<br>
</div>I think a CodeGenerator deserves a bit of cleanup to reflect the<br>
changes described above.<br>
And since Cog VMs are not using GUI for generating sources, things<br>
like VMMakerTool can rest in peace.<br>
Personally i found it much simpler  to control internal/external<br>
plugins using CMakeVMMaker classes,<br>
comparing to old ways, when you had to manually add all plugins using GUI tool.<br>
Especially, when some plugins are fit only for specific target (like<br>
ThreadedFFIPlugin),<br>
or only for specific OS, like MacMenuBarPlugin.<br></blockquote><div><br>Yes, exactly. +100. If you read my blog post, that&#39;s exactly my opinion.  <br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div class="h5"><br>
&gt; Thanks in advance,<br>
&gt;<br>
&gt; --<br>
&gt; Mariano<br>
&gt; <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>