Clozure / ccl

Clozure Common Lisp
http://ccl.clozure.com
Apache License 2.0
840 stars 105 forks source link

Just to say that CCL finally can run on Mac (Intel and M1) #462

Open kwccoin opened 7 months ago

kwccoin commented 7 months ago

You do need to do a few things on top of what the doc said:

  xattr -d com.apple.quarantine ccl-1.12.2-darwinx86.tar

Then do what the doc said i.e.

  cd  ~/Downloads/ccl/lisp-kernel/darwinx8664 
  # strangely darwinarm does not work saying missing some arm/as ...
  make clean
  make

note this statement in make:

 all:   ../../dx86cl64

hence to run use ../../dx86cl64 or click ~/Downloads/ccl/ccl/dx86cl64 i.e. to start ccl the ? is its prompt

  ? (rebuild-ccl :clean t)

  ; ? (require "COCOA") ; not sure you need this step ... which just generate a temp app
  ? (require "COCOA-APPLICATION")

; use this it will generate a "Clozure CL64.app" which you can now click-and-run under macOS ... ; you may even move to app folder

; ccl is emacs like though, not vim ... too late for me ; as I switch to vim sbcl (you can search and know that option) more than 5 years ago ; still ... like to see old friend back to work ... great ; may give a go ...

WolframRinke commented 7 months ago

Another information is necessary: 1) curl -L -O https://github.com/Clozure/ccl/releases/download/v1.12.2/darwin86.tar.gz (this contains "dx86cl64" , "dx86cl64.image" and folder "darwin-x86-headers64" ) 2) move this three files to your ccl source directory. 3) now you can start "dx86cl64" and continue as above mentioned.