[Vm-dev] Separating launcher from VM binaries
K K Subbu
kksubbu.ml at gmail.com
Tue Apr 16 16:04:09 UTC 2019
Hi,
In working with Squeak images of different formats and word sizes, I
find myself struggling with a bunch of scripts - run, squeak, squeak64,
cog, cog64, spur, spur64 etc and having to update the run script
whenever a new format comes out. There should be simpler way .....
It would be nice to separate the main programs - launcher(squeak) and
ckformat - from the VMs that read specific image formats.
VMs could be generated with base format built into the name or path e.g.
lib/$VER/$BASE/ostvm or lib/$BASE/$VER/ostvm
The main launcher (squeak) will probe and launch a matching VM with
something like:
lib/$VER/$(ckformat $IMAGE)/$VMNAME $ARG
without having to find out the exact format number. This will enable
multiple format VMs to co-exist in a machine without having to change
PATH settings etc.
Regards .. Subbu
More information about the Vm-dev
mailing list