Skip to content
Massimo Nocentini edited this page Oct 12, 2023 · 5 revisions

Welcome to the pharo-vm wiki!

Compilation

Windows 64 bit

To compile under a Windows 64 bit installation, do the following steps:

  1. download https://www.cygwin.com/setup-x86_64.exe
  2. run the installer installing in the default location C:\cygwin64 for all users (select a near proxy to speed up)
  3. On the main panel search and mark the following packages for installation:
    • cmake (3.20.0-1)
    • make (4.4.1-2)
    • zip (3.0-13)
    • unzip (6.0-18)
    • mingw64-x86_64-clang (8.0.1-1)
    • wget (1.21.4-1)
    • git (2.39.0-1)
    • autoconf2.5 (2.69-5)
    • autoconf (15-1)
    • automake1.16 (1.16.5-1)
    • automake (11-1)
    • libtool (2.4.7-1)
    • patch (2.7.6-17)
    • curl (8.4.0-1)
  4. Run the bat file C:\cygwin64\Cygwin.bat and type mkdir Developer and the cd Developer.
  5. type git clone https://github.com/pharo-project/pharo-vm.git to clone the vm repo.
  6. type cmake -S pharo-vm/ -B pharo-vm-build -DPHARO_DEPENDENCIES_PREFER_DOWNLOAD_BINARIES=TRUE.
  7. type cmake --build pharo-vm-build/ --target install, if all succeed you will have the executable in pharo-vm-build\build\dist\.
  8. type mkdir -p images/120 and then cd images/120.
  9. type curl https://get.pharo.org/64/120 | bash to download just a fresh image.
  10. open the executable Pharo.exe and point to the newly downloaded image images/120/Pharo.image, that should open a clean Pharo environment.

Clone this wiki locally