1.7 KiB
Installing Common Lisp on Windows 64bit from Scratch
-
Download and install rho-emacs:
https://gchristensen.github.io/rho-emacs/
When installing choose C:\Users_yourname_ for the "home folder"
I like a plain emacs, others like the various default extensions and themes.
-
Install sbcl:
http://prdownloads.sourceforge.net/sbcl/sbcl-2.2.2-x86-64-windows-binary.msi
-
Get GIT 64 bit:
https://git-scm.com/download/win
Even if you don't use GIT, it installs the needed ssl files and some basic unix tools like bash
-
Get the 64 bit SQLite DLL from:
Double clip the downloaded dll zip and<6E> copy the file to C:\Program Files\Git\mingw64\bin
-
Download QuickLisp:
Download using http://beta.quicklisp.org/quicklisp.lisp
(assuming for the tutorial it is downloaded to your Downloads directory)
-
Install QuickLisp:
Open Git Bash and run: sbcl
Use the mouse right click paste or type:
- At the * prompt from sbcl type: (load "~/Downloads/quicklisp.lisp")
- At the * prompt from sbcl type: (quicklisp-quickstart:install)
- At the * prompt from sbcl type: (ql:add-to-init-file)
- At the * prompt from sbcl type: (ql:quickload :quicklisp-slime-helper)
- At the * prompt from sbcl type: (quit)
Run rho emacs with (I would add to path or make a script):
/c/Program\ Files/rho-emacs/rho
Use C-x-f and create the file ~/.emacs.d/init.el and add the next two lines:
(load (expand-file-name "C:/Users/david/quicklisp/slime-helper.el"))
(setq inferior-lisp-program "sbcl")
Quit emacs - C-x C-y
-
Install CLOG:
Start again emacs
/c/Program\ Files/rho-emacs/rho
Run Slime - M-x slime
(ql:quickload :clog)