<p></p>
<p>Definitely not just a naming issue.  The idea is to pull out all of the architecture specific settings to get to a truly generic stack vm.</p>
<p>Ignore the --disable-dynamicopenssl and vm_variant= (that's part of the packaging work) but note the sse2 and 're-exec' stuff which is what needs to be eliminated if you're going to build for say MIPS/PPC/RISC-V:</p>
<p>diff build.linux64x64/squeak.stack.spur/build/mvm build.linux64generic/squeak.stack.spur/build/mvm<br>
4a5</p>
<blockquote>
<h1>Some gcc versions create a broken VM using -O2</h1>
</blockquote>
<p>22a24</p>
<blockquote>
<p>--disable-dynamicopenssl <br>
24,25c26,27<br>
<    CC=clang <br>
<    CFLAGS="$OPT -msse2"</p>
</blockquote>
<hr>
<blockquote>
<p>CFLAGS="$OPT" <br>
vm_variant=spur64</p>
</blockquote>
<p>and</p>
<p>diff build.linux32x86/squeak.stack.spur/build/mvm build.linux32generic/squeak.stack.spur/build/mvm<br>
3,9d2<br>
< case "<code>uname -m</code>" in # ensure we see x86 as machine type<br>
< i*86) ;; # we're good<br>
< *) if type i386 2>&1 >/dev/null; then<br>
<    echo "Re-exec as x86"<br>
<    exec i386 "$0" "$@"<br>
< fi ;;<br>
< esac<br>
30a24</p>
<blockquote>
<p>--disable-dynamicopenssl <br>
32c26,27<br>
<    CFLAGS="$OPT -msse2"</p>
</blockquote>
<hr>
<blockquote>
<p>CFLAGS="$OPT" <br>
vm_variant=spur32</p>
</blockquote>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/585#issuecomment-903562087">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW4L3G2MJVZUUDPH5MTT6ICOVANCNFSM5CRKU4IA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/AIJPEWZSCYXWHZEWHJ3ABCTT6ICOVA5CNFSM5CRKU4IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGXNUGZY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/585#issuecomment-903562087",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/585#issuecomment-903562087",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>