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.

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:

diff build.linux64x64/squeak.stack.spur/build/mvm build.linux64generic/squeak.stack.spur/build/mvm
4a5

Some gcc versions create a broken VM using -O2

22a24

--disable-dynamicopenssl
24,25c26,27
< CC=clang
< CFLAGS="$OPT -msse2"


CFLAGS="$OPT"
vm_variant=spur64

and

diff build.linux32x86/squeak.stack.spur/build/mvm build.linux32generic/squeak.stack.spur/build/mvm
3,9d2
< case "uname -m" in # ensure we see x86 as machine type
< i*86) ;; # we're good
< *) if type i386 2>&1 >/dev/null; then
< echo "Re-exec as x86"
< exec i386 "$0" "$@"
< fi ;;
< esac
30a24

--disable-dynamicopenssl
32c26,27
< CFLAGS="$OPT -msse2"


CFLAGS="$OPT"
vm_variant=spur32


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.