[Openmcl-devel] Good news on the Mac
tfb at tfeb.org
Sun Mar 29 05:00:54 PDT 2020
Note that as far as I can see none of this will work on 10.14 as Xcode 11.4 does not run there. This is annoying for me (I generally do even-numbered OSX releases only) but not a general problem I think.
> On 27 Mar 2020, at 15:06, Bruce O'Neel <bruce.oneel at pckswarms.ch> wrote:
> And for those of you who don't want to download the giant Xcode you can always download the command line tools for Xcode 11.4 which is only 260 MB. NB: Unlike in the past the Software Update control panel did not offer to upgrade this for me.
> A working assembler is
> as -v
> Apple clang version 11.0.3 (clang-1188.8.131.52)
> 26 March 2020 04:39 "R. Matthew Emerson" <rme at acm.org> wrote:
> Xcode 11.4 was just released, and as Bruce says, it includes a fixed assembler that can build CCL.
>> On Feb 9, 2020, at 6:29 AM, Bruce O'Neel <bruce.oneel at pckswarms.ch <mailto:bruce.oneel at pckswarms.ch>> wrote:
>> Thanks mostly to Apple we've not had good news on the Mac recently, but, today we have very good news. One can build CCL from scratch on 10.15.3 Catalina without using old tools. Apple has fixed the assembler.
>> -1 : Join the Apple Developer program. Or wait a few weeks for them to release the newest Xcode and/or command line tools.
>> 0. Install Xcode 11.4 beta. Or if you've waited install Xcode 11.4 or the command line developer tools that match.
>> 1. sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer <http://xcode-beta.app/Contents/Developer>
>> 2. as -v should show version
>> % as -v
>> Apple clang version 11.0.3 (clang-1184.108.40.206)
>> 3. git clone https://github.com/Clozure/ccl.git <https://github.com/Clozure/ccl.git>
>> 4. curl -L -O https://github.com/Clozure/ccl/releases/download/v1.12-dev.5/darwinx86.tar.gz <https://github.com/Clozure/ccl/releases/download/v1.12-dev.5/darwinx86.tar.gz>
>> 5. cd ccl
>> 6. tar xjf ../darwinx86.tar.gz
>> 7. (optional) since Catalina does not run 32 bit binaries clean up - rm -rf darwin-x86-headers dx86cl.image dx86cl
>> 8. Ideally (ccl:rebuild-ccl :full t) would just work, but, there is some problem left with subprocess output back to lisp that causes a false failure, so.....
>> 9. (cd lisp-kernel/darwinx8664; make clean; make)
>> 10. ./dx64cl64
>> 11. (ccl:rebuild-ccl :full t)
>> 12. It fails building the kernel, so, (quit) and (cd lisp-kernel/darwinx8664; make clean; make) again. Now the kernel and bootstrap image are built, but not the final image.
>> 13. ./dx86cl64 --image-name x86-boot64.image --no-init
>> 14. (ccl:save-application "dx86cl64.image")
>> 15. ./dx86cl64
>> 16. (require 'cocoa-application)
>> and I think you should have a working CCL on Catalina, both command line and GUI.
>> I, for one, am very very happy!!
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel