Il 15/03/24 17:58, Andrea Corallo ha scritto:
Something like this should do the job (you might need to install some
package):

$ git clone https://git.savannah.gnu.org/git/emacs.git
$ cd emacs && ./autogen.sh && ./configure --with-native-compilation && make -j16
I was not able to build Emacs because of:

configure: error: ELisp native compiler was requested, but libgccjit was not found.
Please try installing libgccjit or a similar package.

(I installed libgccjit-10-dev)

Gabriele