[Vm-dev] adding external plugins to Squeak 4.2 on the Mac

Craig Latta craig at netjam.org
Sun Jul 17 03:11:17 UTC 2011


     I'm adapting the Spoon remote-browsing support for Squeak 4.2. I
use an external plugin (Flow). On the Mac, if I build a stock 4.2 VM
myself and add my Flow bundle to the Resources folder, it works. If I
add the Flow bundle to the Resource folder of the offically-built VM, it
doesn't work. Is the released VM binary expecting external plugin
bundles to be special in some way?

     Looking at the other bundles that are included with the release VM,
all I notice is that they are universal binaries (the executable files
start with 0xCAFEBABE). I'm building the Flow bundle with Xcode 4, which
apparently no longer supports universal binaries by default (so I'm just
making a Mach-o i386 bundle). Is this a problem? (That would be weird,
for the VM to want a plugin to have code for an architecture other than
the current one.)

     The minimal Spoon object memory requires a special VM, but I'd
rather not make Squeak 4.2 memories that are browsing it have to use a
special VM (just the Flow plugin).



Craig Latta
+31   6 2757 7177
+ 1 415  287 3547

More information about the Vm-dev mailing list