ccl icon indicating copy to clipboard operation
ccl copied to clipboard

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

Open kwccoin opened this issue 2 years ago • 1 comments

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.

  • expand the .tar (using MacOS click-and-expand is ok)
  • use macOS terminal
  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 ...

kwccoin avatar Nov 20 '23 13:11 kwccoin

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.

WolframRinke avatar Nov 30 '23 10:11 WolframRinke