Skip to content

Instantly share code, notes, and snippets.

@ibrahima
Last active April 29, 2025 18:58
Show Gist options
  • Save ibrahima/a1525f0c7511efe5aeef49c874b516e3 to your computer and use it in GitHub Desktop.
Save ibrahima/a1525f0c7511efe5aeef49c874b516e3 to your computer and use it in GitHub Desktop.
My emacs build
#!/usr/bin/env bash
# Ensure that we have libgccjit matching the default gcc version, libwebkitgtk-dev headers
./configure \
--without-compress-install \
--with-mailutils \
--with-pgtk \
--with-tree-sitter
# --with-xwidgets \ # Seems like this no longer works due to https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66068
# --with-native-compilation \ This is the default since Emacs 30
# --with-json # This is no longer an option since Emacs 30, JSON support is built in
make
sudo make install
@ibrahima
Copy link
Author

ibrahima commented Mar 7, 2025

@ibrahima
Copy link
Author

Another note to self: Install libsystemd-dev to enable usage as a systemd service: https://emacsredux.com/blog/2020/07/16/running-emacs-with-systemd/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment