Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Notifications
Mark all as read
Q&A

Install Emacs with native compilation support on macOS

+3
−0

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?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

0 answers

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!

Like what we're doing? Support us! Donate