Last active
May 1, 2022 16:25
-
-
Save RhubarbSin/2962cf252388d972ffb729285227a6c3 to your computer and use it in GitHub Desktop.
Compile Emacs 28.1 on Amazon Linux 2022
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf -y install '@Development Tools' cmake gnutls-devel libgccjit-devel ncurses-devel wget | |
wget https://ftpmirror.gnu.org/emacs/emacs-28.1.tar.gz https://ftpmirror.gnu.org/emacs/emacs-28.1.tar.gz.sig | |
gpg --keyserver keyserver.ubuntu.com --recv-keys 17E90D521672C04631B1183EE78DAE0F3115E06B | |
gpg --verify emacs-28.1.tar.gz.sig | |
tar zxf emacs-28.1.tar.gz | |
cd emacs-28.1 | |
./configure --with-native-compilation | |
make | |
src/emacs -Q | |
src/emacs --debug-init --chdir ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment