Skip to content

Instantly share code, notes, and snippets.

@azumafuji
Created April 29, 2022 09:33
Show Gist options
  • Save azumafuji/73d991b41ec5dfe245ec4250a37722bf to your computer and use it in GitHub Desktop.
Save azumafuji/73d991b41ec5dfe245ec4250a37722bf to your computer and use it in GitHub Desktop.
Building emacs notes
git clone git://git.sv.gnu.org/emacs.git
sudo apt install build-essential libgtk-3-dev libgnutls28-dev libtiff5-dev libgif-dev libjpeg-dev libpng-dev libxpm-dev libncurses-dev texinfo autoconf
sudo apt install libjansson4 libjansson-dev
sudo apt install libgccjit0 libgccjit-10-dev gcc-10 g++-10
sudo apt install libxpm-dev librsvg2-dev libwebp-dev liblcms2-dev libgmp-dev libxml2-dev libm17n-dev libotf-dev libxft-dev libsystemd-dev
sudo apt install sqlite3 libsqlite3-dev
export CC=/usr/bin/gcc-10 CXX=/usr/bin/gcc-10
./configure --with-native-compilation --with-json --with-pgtk --with-mailutils
sudo dnf install make autoconf texinfo gtk3-devel libgccjit gnutls-devel jansson-devel librsvg2-devel ncurses-devel libjpeg-devel libXpm-devel giflib-devel libtiff-devel lcms2-devel otf2-devel libXpm-devel libwebp-devel sqlite-devel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment