[Vm-dev] Fistpump! "YES!!!!" Fistpump! Jumps up and down and clicks heels then does the oogie-boogie-woogie til he just can't boogie no more!

gettimothy gettimothy at zoho.com
Fri May 16 15:34:09 UTC 2014


Hello From StackVM created from CMakeVMMaker on Squeak4.5.....

 /home/wm/usr/src/smalltalk/CMake.oscog/Cog/image/installCogVMMaker/Squeak-4.5-All-in-One.app/Contents/Resources/oscogvm/results/StackVM
Croquet Closure Stack VM [StackInterpreter VMMaker.oscog-tpr.719]
Unix built on May 16 2014 12:07:46 Compiler: 4.8.2
platform sources revision VM: r2920 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2014-05-10 11:56:23 -0400 Plugins: r2545 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
StackInterpreter VMMaker.oscog-tpr.719 uuid: 25cb5d93-f8cf-4efe-874f-7f363c5b7a84 May 16 2014




In a rush to get the latest CMMakeVMMaker code to compile, I directly modified the existing CMakeVMMaker-EstebanLorenzano.271. 
With this proof-of-methodology out of the way, I will now re-do my work so that it is non-intrusive to the pharo work.


For the CMakeVMMaker cognizant, the port to CMake is only a matter of creating CPlatformConfig subclasses that implement the required flags. 
CPlatformConfig
  CogFaimlyUnixConfig
      CogUnixConfig
          StackUnixConfig
            SqueakStackUnix64x32SlackwareConfig
                  SqueakStackUnix64x32SlackwareNoGLConfig




Pharo already has PharoXYZConfig's for Debian etc, so should just be a matter of subclassing/renaming.


Porting to Squeak is a matter of overriding non-compatible pharo-isms in a handful of methods on classes CPlatformConf, CMakePluginGenerator and CMakeVMGenerator. There is also the addition of some small 'facade' classes called pharoBuilder/SqueakBuilder that 
are essentially wrappers on the process.


I will be doing that next.


Once that is working, I will build out a Cog config.


Once that is done, I can push this to source.squeak.org if you like. There will also need to be an addition of a couple of scripts to Cog/image/ svn directory.


cheers.


tty

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140516/e73e9608/attachment.htm


More information about the Vm-dev mailing list