[Vm-dev] compiling legacy macos carbon vm
nicolas.cellier.aka.nice at gmail.com
Thu Nov 7 20:44:52 UTC 2019
I was wondering about the interest of keeping the platforms/Mac\ OS code.
This code is not alive (not tested, not maintained) and is rotting, slowly
I did try it, and after a few changes, succeeded in compiling a legacy
carbon universal squeak.cog.v3 & squeak.cog.spur
- for a mac os 10.5 (leopard) target (i386 only)
- from a mac os 10.14.6 mojave
- with xcode 10.3 augmented by legacy SDKs thanks to xcode-legacy
- via mvm scripts driving gnu makefiles
installing the legacy SDKs is becoming harder and harder, because Apple now
distributes signed xip archives with shortly expiring signatures!
But as long as we can sudo date, that's stupid hurdles...
The VM runs in mojave, but it's far from perfect (mouse click does not
work, keyboard is OK though). Optimized spur crashes the llvm-gcc-4.2
compiler (../../spursrc/vm/gcc3x-cointerp.c:78381: internal compiler error:
Segmentation fault: 11, never mind, I won't send report to Apple!), and
with classic gcc-4.2, optimized spur VM crashes at run time soon after
startup. Optimized V3 seems to work.
I may publish this work in a branch if ever someone is interested and also
retry compilation on a legacy snow leopard machine.
Otherwise, we may as well remove platforms/Mac\ OS entirely.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev