<div dir="ltr">Hi David,<div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 8, 2015 at 5:13 PM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.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>
On Wed, Apr 08, 2015 at 04:40:04PM -0700, John McIntosh wrote:<br>
&gt;<br>
&gt; I see the source I grabbed<br>
&gt; <a href="http://www.squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/src/vm/interp.c" target="_blank">http://www.squeakvm.org/cgi-bin/viewvc.cgi/squeak/trunk/src/vm/interp.c</a><br>
&gt;<br>
&gt; /* Smalltalk from Squeak4.5 with VMMaker 4.13.12 translated as C source on<br>
&gt; 28 March 2015 8:15:47 pm */<br>
&gt;<br>
&gt; /* Automatically generated by<br>
&gt;<br>
&gt; CCodeGeneratorGlobalStructure VMMaker-dtl.359 uuid:<br>
&gt; 3d5b8023-e045-437f-a85a-02036bc57e00<br>
&gt;<br>
&gt;    from<br>
&gt;<br>
&gt; Interpreter VMMaker-dtl.359 uuid: 3d5b8023-e045-437f-a85a-02036bc57e00<br>
&gt;<br>
&gt;  */<br>
<br>
<br>
The generated sources in trunk/src are the raw C sources generated directly<br>
from VMMaker. When a change is made to (trunk) VMMaker that affects the<br>
code generation, I commit the updates to SVN trunk/src. This is intended<br>
to be a more regularly updated snapshot of generated sources, replacing the<br>
generated sources that previously had been updated in trunk/unix/src in<br>
conjunction with official VM releases.<br>
<br>
Ian and I have been intending to set up an automated build from these<br>
generated sources along with the most current trunk platforms sources,<br>
although this has not happened yet.<br>
<br>
&gt;<br>
&gt;<br>
&gt; It&#39;s not GNUified, which makes a dreadfully slow VM.  So does the gnuify<br>
&gt; step still exist? If so the &#39;official&#39; gnuified source would be where?<br>
<br>
The gnuifier is an awk script that now lives in platforms/unix/cmake/gnuify.awk.<br></blockquote><div><br></div><div>May I suggest that you use John&#39;s Gnuify Smalltalk code that is included in the Cog VMMaker branch?  That&#39;s why in the Cog sources you seee.g. both spurstacksrc/vm/interp.c and  spurstacksrc/vm/gcc3x-interp.c, the latter having been generted using John&#39;s Gnuify class in VMMaker.</div><div><br></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">
<br>
The gnuify script is run as part of the build process, which is now<br>
implemented with CMake rather than the previous autotools build process.<br>
The autotools build is no longer used or supported in trunk. The CMake<br>
build is implemented in the files in platforms/unix/cmake/ along with<br>
the main CMake script platforms/unix/CMakeLists.txt and various scripts in<br>
the appropriate subdirectories, with names like config.cmake and build.cmake<br>
to control the configuration and build steps respectively.<br>
<br>
When the gnuifier is run during the build process, the resulting gnu-interp.c<br>
file will appear in the build directory. This is the interpreter source file<br>
that is compiled into the squeakvm executable.<br></blockquote><div><br></div><div>Which is a pain ;-)</div><div> </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">
<br>
Dave<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">best,<div>Eliot</div></div>
</div></div>