What is the best way to compile programs inside emacs? I am currently opening a separate buffer with C-x 3
and running eshell inside it using M-x eshell
then invoking either make or clang directly; most of the time I do have a Makefile set up.
Is there any advantage with running the compilation process using M-x compile
vs running make inside eshell? Any other ways to do it and what are the advantages/disadvantages of those?