[Openmcl-devel] os x shell-executable ccl

Ron Garret ron at flownet.com
Thu May 27 12:16:37 PDT 2021

That executable will work from the command line, but the problem is that the executable is not enough.  You also need an initial image file, and the only image file that comes bundled with the App Store version includes the IDE.

But you can easily download pre-built non-IDE images from github if you don’t want to go to the trouble of building one yourself.  But building an image is not very hard.  In fact, the App Store version includes the source (it’s in resources/ccl) so you should be able to build a non-IDE image from the App Store version by following the instructions in the CCL docs.

BTW, the command-line version of CCL has a few quirks that make it not well suited to running as a shebang script if that’s what you’re after.  I wrote a little C wrapper for CCL that makes it play better with shebangs.  If anyone is interested let me know and I’ll make it available.


On May 27, 2021, at 8:59 AM, Paul Krueger <plkrueger at comcast.net> wrote:

> I mostly use CCL in OS X with the IDE and so have used the version from the App store for a while. But I’d like to be able to use a shell-executable CCL for some purposes. After trying to figure out how to do that with the App Store version without much luck I’m guessing that I will need to download and build CCL myself. I’ve tried using the CCL64 executable in the Scripts sub-directory of the app bundle, but looking at it, it seems to assume something more like what you’d get if you built it all separately.
> Before going to that trouble I thought I’d ask if there is any simple way to execute a non-IDE CCL while using the app-store version? 
> Thanks for any help.
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel

More information about the Openmcl-devel mailing list