<div dir="ltr">Hi Ben,<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 17, 2016 at 5:22 PM, Ben Coman <span dir="ltr">&lt;<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.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 Sun, Oct 16, 2016 at 10:52 AM, Gerardo Santana Gómez Garrido<br>
&lt;<a href="mailto:gerardo.santana@gmail.com">gerardo.santana@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I want to refer to <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/75" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/pull/75</a><br>
&gt;<br>
&gt; The idea is to reduce duplication to the minimum. There&#39;s no need to have so much code duplicated. The changes introduced in pull request #75 factorizes code and still creates a different directory to output intermediate products, as I think was the intention of having so many subdirectories and copies of the mvm script.<br>
&gt;<br>
&gt; Consider this change as a first shy step towards having a single source tree and Makefile to build any platform.<br>
<br>
<br>
&gt;From another thread...<br>
on Tue, Oct 18, 2016 at 5:31 AM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt; - we will write linux makefiles in the style of the windows and mac makefiles, all using gmake<br>
<br>
<br>
Hi Eliot,<br>
<br>
I notice that the Windows build root directory...<br>
<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/Cog/build.win32x86/squeak.cog.spur" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/tree/Cog/build.win32x86/<wbr>squeak.cog.spur</a><br>
<br>
doesn&#39;t have the directories build, build.debug, build.assert, etc...<br>
<a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/Cog/build.linux32x86/squeak.cog.spur" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/tree/Cog/build.linux32x86/<wbr>squeak.cog.spur</a></blockquote><div><br></div><div>That&#39;s right.  Neither the Windows nor the Mac build directories need the subdirectories.  Their gmake makefiles create them as required.  That&#39;s a distinct advantage; any configuration info (e.g. the include dependency information in build.macos32x86/squeak.cog.spur/deps) gets generated once and shared between the builds instead of having to run it separately for each build (another reason why builds are faster than with autoconf/cmake).</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">Gerado&#39;s changes here...<br>
  <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/75/files" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/pull/75/files</a><br>
move in that direction.  Could you skim an architectural review to<br>
advise if this is heading the right way and I can work with Gerardo to<br>
do detailed testing.<br></blockquote><div><br></div><div>Will do.  Thanks.</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">Perhaps the following should be used as a template?<br>
  <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.win32x86/common/Makefile" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/blob/Cog/build.win32x86/<wbr>common/Makefile</a></blockquote><div><br></div><div>Either those or  <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.macos32x86/common/Makefile" rel="noreferrer" target="_blank">https://github.com/<wbr>OpenSmalltalk/opensmalltalk-<wbr>vm/blob/Cog/build.macos32x86/<wbr>common/Makefile</a> et al.  The Mac ones are newer and a little cleaner.</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">Also, until after Pharo 6 Release, maybe this work should be done<br>
under a new directory buildnew.linux32x86 ??<br></blockquote><div><br></div><div>Sure.  </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">cheers -ben<br>
</blockquote></div><br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>