Skip to content

Instantly share code, notes, and snippets.

@bigos
Last active March 18, 2023 05:46
Show Gist options
  • Save bigos/e6d12a55104f16e88c8c859e9643af67 to your computer and use it in GitHub Desktop.
Save bigos/e6d12a55104f16e88c8c859e9643af67 to your computer and use it in GitHub Desktop.

Installing SBCL from source on Windows

This tutorial assumes you have installed binary version of SBCL downloaded from http://www.sbcl.org/platform-table.html

Also, it assumes you have Msys2 installed. https://www.msys2.org/ And all the tools needed for compilation are there.

On top of that I used Windows cmd started from a bat file that adds Msys2 paths.

Compile SBCL

I have pulled the latest source and compiled it. The usual command has worked

sh clean.sh
sh make.sh --dynamic-space-size=4Gb

Install Wix tools

Problem

The install script sh install.sh is not built for Windows.

Solution

I went to http://wixtoolset.org/releases/ And clicked on a button DOWNLOAD WIX 3.11.1 That lead to the page where I could select the exe file.

After installing Wix I had to restart computer.

Restart, build Installer and install

After installing I had to run

sh make-windows-installer.sh

After running that in the output folder I could see the *.msi file.

Clicking on it has ran the installer. I have completed the installation and went to the next step.

Restart and try SBCL

c:/ $ sbcl --version
SBCL 1.5.1
c:/ $

Success!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment