<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 19, 2016 at 5:37 AM, Ben Coman <span dir="ltr"><<a href="mailto:btc@openinworld.com" target="_blank">btc@openinworld.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Wed, Oct 19, 2016 at 7:43 PM, Ben Coman <<a href="mailto:btc@openinworld.com">btc@openinworld.com</a>> wrote:<br>
<span class="">> On Wed, Oct 19, 2016 at 7:53 AM, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
>><br>
>> On Mon, Oct 17, 2016 at 5:22 PM, Ben Coman <<a href="mailto:btc@openinworld.com">btc@openinworld.com</a>> wrote:<br>
>>><br>
</span><span class="">>>> 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><br>
>><br>
>> 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.<br>
><br>
</span>> Okay.<br>
> So to get a bit of background understanding on the 32/64-bit build<br>
> differences I did a bit of analysis.<br>
> I've attached it for the curious.<br>
<br>
For the record this was produced by...<br>
$ cd build.macos32x86<br>
$ find . -type f -print \<br>
-exec diff --side-by-side {} ../build.macos64x64/{} \; \<br>
| grep -e \| -e \< -e \> -e ^\.\/ > diff-build.macosXxx<br>
followed by some manual massaging of the resulting file.<br>
<br>
Apart from Makefile, <a href="http://plugins.int" rel="noreferrer" target="_blank">plugins.int</a> & plugin.ext most else seems the same<br>
in almost 3000 lines of config.<br>
I "wonder" if with a common32 and a common64 the 32-bit and 64-bit<br>
builds might be merged,<br>
All the sub-build-folders might be like pharo.stack.spur32.<br>
But maybe later required differences turn up that would be harder to handle ??<br></blockquote><div><br></div><div>I did it that way to avoid a dependency between the two. If one knows they're essentially the same then they're easy to edit and keep in sync. I think the build.OsWordsizeProcessor scheme is simple and works. So it does mean that 32-bit and 64-bit platforms have a little bit of duplication. Are you not willing to live with it?</div><div><br></div></div><div class="gmail_signature" data-smartmail="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>