Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cross-compiling with SBCL

I have SBCL running on a Ubuntu machine. I want to write a little program that I want to give to a friend who has only Windows running. What is the quickest way to cross-compile it on my machine into a "standalone" windows program (i.e. the usual runtime+core combination)?

like image 997
Svante Avatar asked Oct 26 '08 16:10

Svante


1 Answers

SBCL is able to do a cross-compilation, but due to code being evaluated during the process, you need access to the target architecture. SBCL's build processed is well explained by Christophe Rhodes in SBCL: a Sanely-Bootstrappable Common Lisp .

If you don't have directly access to a Windows machine, I suppose you could give a try to Wine (I would expect this to fail) or ReactOS inside either an emulator or hypervisor (QEMU, HVM, Xen, you name it...).

like image 108
Nowhere man Avatar answered Sep 19 '22 02:09

Nowhere man