Hi,
I'm developing Emacs using its native compilation on macOS, which is
based on libgccjit.
In this context, I'm currently failing to get .eln files (= .so, .dylib,
.dll depending on the platform) with debug info. This has probably its
roots in the special handling of DWARF under macOS, a long-w
On Fri, 2024-05-10 at 15:46 +0200, Gerd Möllmann wrote:
> Hi,
>
> I'm developing Emacs using its native compilation on macOS, which is
> based on libgccjit.
>
> In this context, I'm currently failing to get .eln files (= .so,
> .dylib,
> .dll depending on the platform) with debug info. This has p
From: David Malcolm
Sent: Friday, May 10, 2024 10:17 PM
To: Gerd Möllmann ; jit@gcc.gnu.org
Cc: Andrea Corallo
Subject: Re: Debug info on macOS
[...]
> As I understand it, Emacs is using libgccjit to do ahead-of-time
> compilation, presumably compiling
David Malcolm writes:
> As I understand it, Emacs is using libgccjit to do ahead-of-time
> compilation, presumably compiling the optimized ELisp code to machine
> code as a shared library.
Correct.
> Is Emacs using gcc_jit_context_compile_to_file with
> GCC_JIT_OUTPUT_KIND_DYNAMIC_LIBRARY, or i