GCC emacs
Platform
On emacs-wiki
Now it's merged on emacs's master branch.
Testing it
See
Debian dependencies
texinfo
libgccjit-10-dev
libgif-dev
For native JSON support
Clone the repo and move to it
DIRECTORY=~/repos/gccemacs
git clone -b feature/native-comp --depth=1 \
--recurse-submodules \
https://git.savannah.gnu.org/git/emacs.githttps://git.savannah.gnu.org/git/emacs.git $DIRECTORY
cd $DIRECTORY
Build it
CPUNUM=`cat /proc/cpuinfo |grep processor|wc -l`
./autogen.sh && \
./configure --with-json --with-nativecomp && \
make -j$CPUNUM
Other relevant `--with` flags can be found using ./configure --help|grep with
, for example
CPUNUM=`cat /proc/cpuinfo |grep processor|wc -l` && ./autogen.sh && ./configure --with-json --with-nativecomp --with-imagemagick && make -j$CPUNUM
Run it
./src/emacs
If it looks good, wrap it to be called from the $PATH
cat << _EOF_ > ~/.local/bin/emacs-native
#!/bin/sh
cd `pwd`
exec src/emacs "$@"
_EOF_
chmod +x ~/.local/bin/emacs-native