unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo via "Emacs development discussions." <emacs-devel@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Requirements for native-compile support
Date: Mon, 10 May 2021 07:40:35 +0000	[thread overview]
Message-ID: <xjfim3rrq8c.fsf@sdf.org> (raw)
In-Reply-To: <83im3taar6.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 May 2021 11:30:05 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> Andrea,
>
> Do we need libgccjit only for compiling to *.eln, or do we also need
> it for loading and executing the *.eln files?
>
> IOW, if Emacs was built with libgccjit, but the library isn't
> available at run time, will Emacs still be able to load and run *.eln
> files that were produced elsewhere (assuming the native code is
> compatible with the platform where it will be run)?

We don't use libgccjit for loading elns file but we still have libgccjit
as a dependency because ATM Emacs may need to compile a trampoline if a
primitive is redefined or advised.  If it's important to support native
builds with no libgccjit available we should redesign this specific
mechanism.

Regards

  Andrea



  reply	other threads:[~2021-05-10  7:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-08  8:30 Requirements for native-compile support Eli Zaretskii
2021-05-10  7:40 ` Andrea Corallo via Emacs development discussions. [this message]
2021-05-10 13:35   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xjfim3rrq8c.fsf@sdf.org \
    --to=emacs-devel@gnu.org \
    --cc=akrl@sdf.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).