rabbibotton / clog

CLOG - The Common Lisp Omnificent GUI
Other
1.52k stars 106 forks source link

Fix for CCL on Windows: 'windows' feature to clog-connection #328

Closed em7 closed 6 months ago

em7 commented 6 months ago

Hello,

Clozure CL (at least in current version - 1.12.1) doesn't add mswindows or win32 into features by default, they add windows.

CL-USER> (member :windows *features*)
(:WINDOWS :LITTLE-ENDIAN-TARGET :LITTLE-ENDIAN-HOST)
CL-USER> (member :win32 *features*)
NIL
CL-USER> (member :mswindows *features*)
NIL
CL-USER> (lisp-implementation-type)
"Clozure Common Lisp"
CL-USER> (lisp-implementation-version)
"Version 1.12.2 (v1.12.2) WindowsX8664"

Could you add windows into clog-connection to make it loadable on CCL on Windows, please? Otherwise loading CLOG fails that cl-isaac can't find /dev/arandom or /dev/urandom. (I can confirm that this is no issue on SBCL on Windows in 2.3.2 and 2.4.1 and on SBCL on Windows/WSL 2.4.1 and 2.4.2).

rabbibotton commented 6 months ago

Done! thanks! I didn't realize it was available for windows. Would like to give that lisp a try.

em7 commented 6 months ago

Yes it is and if you need to try to build anything larger (recompiling constantly), the compiler is faster. Of course it doesn't have as many features as SBCL and the compiled programs are not as fast.