Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Install Emacs with native compilation support on macOS
Emacs 28.1 has support for native compilation of Emacs Lisp, which is supposed to give a significant speed boost over regular Emacs Lisp.
However, to take advantage of it, Emacs must be compiled with support for the library.
I normally run the latest official version from Emacs for OS X, but version 28.1 from that website does not have support for native compilation, as the following elisp evaluation in the *scratch*
buffer shows:
(native-comp-available-p)
;;=> nil
I tried installing Emacs with Homebrew, but that appears to just download the version from emacsformacos.com. I looked at installing it via nix
, but the version there appears to still be 27.2.
I'm working on compiling it myself, which I've done on older versions of macOS, but it has devolved into an annoying battle with obscure macOS-specific ld
issues and header locations.
So - where I can download a build of Emacs 28.1 for macOS Monterey that has native compilation and native JSON processing via jansson
enabled?
0 comment threads