By Colin on 2025-06-28
I recently enabled Windows support for my Raylib bindings library and a game of mine that uses it, Aero Fighter. The process was surprisingly smooth.
This article describes how to:
cross-compile C code for Windows from Linux
install a Windows-based SBCL with Wine
run that SBCL as your REPL in Linux-based Emacs
load .dll files into a Lisp image
files into a Lisp image produce a .exe executable of a Lisp program
Cross-compiling C
We can easily produce Windows executables from Linux with no extra configuration just by using the correct compiler toolchain. On Arch Linux:
... continue reading