[Vm-dev] Extending primitiveDirectoryEntry

Alistair Grant akgrant0710 at gmail.com
Tue Apr 25 08:15:02 UTC 2017


On Mon, Apr 24, 2017 at 02:57:32PM +0000, Alistair Grant wrote:
> Hi All,
> 
> I'm currently building the VM from the pharo-vm github repository using:
> 
> pharo-vm/opensmalltalk-vm/build.linux64x64/pharo.cog.spur/build/mvm
> 
> (or build.linux32x86)
> 
> Can someone kindly point me to how to build the Pharo 6 VM using
> VMMaker?

Never mind, I've finally figured it out.

In case anyone stumbles across this, the shortcut instructions I have
for Pharo are (for the pre-release Pharo 6.0 VM):

1. Read Eliot's blog: http://www.mirandabanda.org/cogblog/compiling-the-vm/
2. The HowToBuild file is at:
   32 bit: oscogvm/build.linux32x86/HowToBuild
   64 bit: oscogvm/build.linux64x64/HowToBuild
3. mkdir oscogvm/sources && cp PharoV50.sources oscogvm/sources
4. Run: oscogvm/scripts/updateSCCSVersions
5. For Pharo, the build directory is:
   32 bit: oscogvm/build.linux32x86/pharo.cog.spur/build
   64 bit: oscogvm/build.linux64x64/pharo.cog.spur/build

If you want to build custom plugins, download the latest stable Squeak
VM and image and run VMMaker from there following the instructions at
http://wiki.squeak.org/squeak/2444

Then copy the plugin(s) source in to: oscogvm/platforms/unix/plugins/
and add the plugin(s) to either:
oscogvm/build.linux32x86/pharo.cog.spur/plugins.int
oscogvm/build.linux32x86/pharo.cog.spur/plugins.ext

Then follow the build instructions above.


Cheers,
Alistair



More information about the Vm-dev mailing list