I ran brew install emacs-plus@28 --with-native-comp and it completed successfully. However, when I tried to run Emacs although the editor worked, there were loads of native compilation warnings.
The solution was to create a one-line ~/.emacs.d/early-init.el, with the following contents:
(setenv "LIBRARY_PATH" "/opt/homebrew/lib/gcc/11:/opt/homebrew/lib/gcc/11/gcc/aarch64-apple-darwin20/11.1.0")
I'd suggest adding this to the "gccemacs" section of the README.
This is on an M1 iMac, it works great now.
I ran
brew install emacs-plus@28 --with-native-compand it completed successfully. However, when I tried to run Emacs although the editor worked, there were loads of native compilation warnings.The solution was to create a one-line ~/.emacs.d/early-init.el, with the following contents:
I'd suggest adding this to the "gccemacs" section of the README.
This is on an M1 iMac, it works great now.