git clone git://git.savannah.gnu.org/emacs.git --branch emacs-29 --depth 1
export CC=/usr/bin/gcc-10 CXX=/usr/bin/gcc-10
./autogen.sh
./configure \
--with-native-compilation \
--with-tree-sitter \
--with-gnutls \
--with-gif \
--with-json \
--with-jpeg \
--with-png \
--with-rsvg \
--with-tiff \
--with-imagemagick \
--with-wide-int \
--with-xft \
--with-xml2 \
--with-xpm \
--without-dbus \
--without-pop
make --jobs=$(nproc)
sudo make install
The Ultimate Emacs Hacking Tutorial in Windows 10 WSL 2 https://gist.github.com/AloisJanicek/942b93feb7ca3683ce666c913ce56672
emacs in WSL2: https://shelper.github.io/posts/setup-emacs-in-wsl2/
- riggrep
- ispell