Skip to main content

Questions tagged [native-comp]

Filter by
Sorted by
Tagged with
1 vote
1 answer
110 views

I would like to write some Emacs Lisp code in a .el file, compile it natively to a .eln file, and run it like a script. I managed to compile to .eln but I don't know how to run it (running emacs --...
bkc4's user avatar
  • 13
7 votes
2 answers
1k views

Every time I start Emacs, it creates an *Async-native-compile-log* buffer with the following contents: Compiling /usr/share/emacs/29.4/lisp/emacs-lisp/cl-loaddefs.el.gz... uncompressing cl-loaddefs.el....
mtraceur's user avatar
  • 738
0 votes
0 answers
606 views

Is there a way to tell emacs to use a specific path to GCC for native compilation, overriding any GCC found by searching the PATH environment variable? I've been trying to set up Emacs 29.1 on Windows ...
Peter Russell's user avatar
10 votes
2 answers
4k views

I'm using Emacs 28.2 on Debian 12.1 with just some org-mode settings in the init file, and it suddenly produces an eln-cache/ every time I start it and populates it with a lot of files. It's annoying ...
r2afb2om's user avatar
  • 101
0 votes
2 answers
1k views

I am trying to prevent emacs-jupyter package from native compilation. There is a known bug that breaks the package when native compiled. [1] I can manually delete the eln files in eln-cache dir and ...
Hamza Yerlikaya's user avatar
1 vote
1 answer
5k views

I did brew install libgccjit and then I did make configure="--with-native-compilation" and it died with: checking for libgccjit.h... yes configure: error: The installed libgccjit failed to ...
pedz's user avatar
  • 375
1 vote
1 answer
384 views

I updated my Emacs from 25 to 28.1 version (as part of OS update), and now on startup there is an error Symbol's value as variable is void: kill-region as well as a lot of comp warnings. On similar ...
Flowneee's user avatar
  • 267
2 votes
1 answer
496 views

I installed 28.1 from source, and when I load emacs in daemon mode, it native-compiles everything under /emacs-28.1/lisp/. Is this normal behaviour? Shouldn't this only need to happen once? The only ...
martian's user avatar
  • 608
1 vote
0 answers
375 views

When building Emacs 27.2 from source, I use the following config: ./autogen.sh ./configure --prefix=/home/user/emacs --bindir=/home/user/bin \ --with-json --with-gif --with-jpeg --with-png --with-...
cinnaroll45's user avatar
3 votes
3 answers
5k views

Not sure what's going on, but suddenly Emacs just started byte-compiling native-compiling everything, all Elisp files. No idea how to get it to stop or what caused this. It's doing all the packages ...
tbny's user avatar
  • 61
3 votes
2 answers
843 views

I recently switched to Emacs 28.1 hoping to use the new native-comp support. Being on Windows, I followed these instructions to install libgccjit, copying the resulting libgccjit.dll library to Emacs’...
bradrn's user avatar
  • 153
5 votes
2 answers
7k views

Say, there is some function and if I do a describe-function on it it says: x is an interactive compiled Lisp function in x.el Can I tell somehow if this loaded compiled code is byte compiled or ...
Tom's user avatar
  • 1,310
1 vote
1 answer
74 views

Consider: ;;; a.el (defun a () nil) (provide 'a) ;;; b.el (require 'a) (defun b () nil) (provide 'b) In traditional Emacs this byte compiles fine: ;;; use.el (require 'b) (a) ;This is automatically ...
Greg Hendershott's user avatar
4 votes
2 answers
2k views

I would like the eln-cache for natively compiled files (I'm using emacs 29, built from the master branch) to be in a custom location. I have this in the opening of my early-init.el file: ;; Dir for ...
mclear's user avatar
  • 1,645