[Openmcl-devel] Good news on the Mac

Toomas Altosaar toomas.altosaar at fi.abb.com
Sun Feb 9 16:45:22 PST 2020


Thank you Bruce for writing out the steps clearly! This is great news!

On 9. Feb 2020, at 16.30, Bruce O'Neel <bruce.oneel at pckswarms.ch> wrote:


CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi,

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.


Steps:

-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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fxcode-beta.app%2FContents%2FDeveloper&data=02%7C01%7C%7C6304011810764d2be2e308d7ad6c98fd%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637168554269871710&sdata=rmknp42Jy67NNM7V09VnhFPDjA1WCEQX0D8XAxsLOsE%3D&reserved=0>
2. as -v should show version


% as -v

Apple clang version 11.0.3 (clang-1103.0.30.11)

3. git clone https://github.com/Clozure/ccl.git<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FClozure%2Fccl.git&data=02%7C01%7C%7C6304011810764d2be2e308d7ad6c98fd%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637168554269871710&sdata=1sixhgBHgGgUi9FdwK02fFpew8JanYYVLeSrG2cS%2F%2FQ%3D&reserved=0>
4.  curl -L -O  https://github.com/Clozure/ccl/releases/download/v1.12-dev.5/darwinx86.tar.gz<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FClozure%2Fccl%2Freleases%2Fdownload%2Fv1.12-dev.5%2Fdarwinx86.tar.gz&data=02%7C01%7C%7C6304011810764d2be2e308d7ad6c98fd%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637168554269881709&sdata=MtXbcIZ0SEs4JRwcuvLXviu0WZRrXjCJIlQuM5e2kH4%3D&reserved=0>
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!!

cheers

bruce











_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.clozure.com%2Fmailman%2Flistinfo%2Fopenmcl-devel&data=02%7C01%7C%7C6304011810764d2be2e308d7ad6c98fd%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C637168554269901689&sdata=0jmO%2BRP%2FOL9S1khmXqt%2BKBaj2u3hZ4p%2F6BPZm%2FvlxdQ%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20200210/562daed9/attachment.htm>


More information about the Openmcl-devel mailing list