Installation steps

followed this

  1. Download code from source ```

git clone git://git.savannah.gnu.org/emacs.git emacs-native-comp ```

  1. install packages ``` sudo apt install libgccjit-10-dev # libgccjit-8-dev

sudo apt install libjansson-dev export CC=“gcc-10” # export CC=“gcc-8” #while using libgccjit-8-dev ```

  1. Run ``` ./autogen.sh ./configure –with-native-compilation –with-json –with-mailutils ./configure –with-native-compilation –with-json –with-mailutils –with-cairo # worked ./configure –with-native-compilation –with-json –with-mailutils –with-cairo

    ./configure –with-native-compilation –with-json –with-mailutils –with-cairo –with-imagemagick –with-jpeg –with-png –with-rsvg

sudo make -j$(nproc) sudo make install

```

Early installation steps

evernote