5.1.1 Windows Installation
The following instructions start from a clean machine and install SEL
in a VirtualBox VM. If you want to install SEL directly on your
existing Windows machine you can skip to the “Windows Common Lisp”
step. (This is a work in progress.)
5.1.1.1 Windows OS Installation
- Install Windows 10 Pro (64-bit). 8 gigs memory, 2 cores, 80 gb hard drive
- Install VirtualBox guest tools for Windows.
- Install SNMP
- In Powershell (Run as Administrator):
Add-WindowsCapability -Online -Name "SNMP.Client~~~~0.0.1.0"
5.1.1.2 Windows Utilities
- Install Chrome browser, make it default browser for Windows.
- Install Git for 64-bit Windows. Accept all defaults.
- Install 7-zip. https://www.7-zip.org/
- Install gnu emacs 26.1 for Windows 64-bit.
5.1.1.3 Windows Common Lisp
- Install Clozure CL. https://ccl.clozure.com
- Install quicklisp: quicklisp.org
- Install slime (using CCL instructions: https://trac.clozure.com/ccl/wiki/InstallingSlime)
In ccl:
(ql:quickload :asdf) ; to upgrade version of asdf to 3.3.x, needed for LAUNCH-PROGRAM support
5.1.1.4 Windows SEL
Clone SEL from https://github.com/GrammaTech/sel or install
using QuickLisp.
5.1.1.5 Windows Development Software
- Install Windows 10 SDK:
https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
- Visual Studio:
Install Visual Studio Community Edition 2019
https://visualstudio.microsoft.com/vs/
Make sure to include C and C++ support in the installation options.
5.1.1.6 Windows clang/LLVM 10.0
This is required to use SEL’s C/C++ front.
Install Windows 64-bit pre-built binary.
Found it in a snapshot release here: https://llvm.org/builds
(it is still pre-release).
5.1.1.7 Windows WSL
This is not required but a useful enhancement.
- In Windows Features control panel:
Enable Windows Subsystem for Linux (WSL). Restart.
Go to Microsoft App Store: Install Ubuntu 18.04
After install, launch it (this will finish the install process)
Create a user/password.
sudo apt-get install update
sudo apt-get install upgrade
- Create a shared folder (to access the linux host)
Assuming shared folder is drive z:, mount it:
sudo mkdir /mnt/z
sudo mount -t drvfs Z: /mnt/z