[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] [WIP] Port feature/native-comp to Windows.

From: Andrea Corallo
Subject: Re: [PATCH] [WIP] Port feature/native-comp to Windows.
Date: Sun, 10 May 2020 12:39:09 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Nicolas Bértolo <address@hidden> writes:

> Lets say Emacs was built with libgccjit 9.2 and the user has GCC 10.0.0
> installed: it would be a very bad idea to use the local installation, AFAIU.
> In fact, libgccjit will not even try and it'll fail.
> Andrea knows the internals of libgccjit way better than me: I am I right?

If you compile Emacs with libgccjit9 and the upgrade to libgccjit10 is
no problem, the entry point are always additive by design:

"The libgccjit developers strive for ABI and API backward-compatibility:
programs built against libgccjit.so stand a good chance of running
without recompilation against newer versions of libgccjit.so, and ought
to recompile without modification against newer versions of


As long as the dynamic linker does not complain at startup (and it we'll
not give the above) Emacs will start and work.

If then we are trying to redistribute libgccjit bundled with Emacs
that's another issue, and I agree with Eli that should not be our next
goal.  But I go further saying that probably would be searching for
troubles, certanly not urgent.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]