[slint] Re: Something strange in emacs-nativecomp

  • From: Didier Spaier <didier@xxxxxxxx>
  • To: Al Sten-Clanton <albert.e.sten_clanton@xxxxxxxxxxx>, slint@xxxxxxxxxxxxx
  • Date: Wed, 12 Apr 2023 22:16:48 +0200

Native compilation is just compiled a source file for a target architecture,
leading to a fast running executable, but nor portable. The compiled version is
in native code (made of instructions in machine code)

By contrast, byte compiled code needs an interpreter to translate it to machine
code "on the fly". This version of emacs can translate lisp functions in native
code, in addition to byte code, as indicated in
https://www.gnu.org/software/emacs/manual/html_node/elisp/Native-Compilation.html.

So if yo want to get this features get this package, else do not need it.

As an aside, unless you want to rebuild emacs-native code yourself (which needs
need it as a build dependency) you probably do not need the package libgccjit,
unless you want to make development using this shared library. Then follow these
links:
https://gcc.gnu.org/wiki/JIT
https://gcc.gnu.org/onlinedocs/jit/

Cheers,
Didier

Le 12/04/2023 à 21:33, Al Sten-Clanton a écrit :

What is "native compilation?"  I'm wondering whether I should install this 
package.

Al

On 4/12/23 13:46, Didier Spaier wrote:
Hello,

The new emacs-nativecomp package is available.

Didier

Le 12/04/2023 à 10:56, Didier Spaier a écrit :
Le 12/04/2023 à 09:31, Philippe Delavalade a écrit :
In /usr/bin one of the executables is
emacs--28.2-no-x11 with two '--'. This seems strange as said in subject.
Yes, it is due to a typo I made in the SlackBuild.
===============================================================================
The Slint mailing list.
Archive: https://www.freelists.org/archive/slint
To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with the subject
'subscribe' or 'unsubscribe', then answer the email you will receive.
More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 'commands'.

Other related posts: