emacs-devel
[Top][All Lists]
Advanced

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

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


From: Nicolas Bértolo
Subject: Re: [PATCH] [WIP] Port feature/native-comp to Windows.
Date: Sat, 9 May 2020 12:40:18 -0300

> I get a 404 now but IIRC he had to hack libgccjit too.  Did you had to
> modify that too or just works OOTB in Mingw64?

I did. I followed his procedures. I will write a document specifying what I had
to do in English.

> Mmmh the .eln do not link against any library so I guess if the shared
> libraries produced from the Mingw64 env are usable outside it should
> work (I'm totally ignorant on windows related subject).

They link against the crt (C runtime) and some core Windows libraries. As I
replied to Eli, the main issue is that the assembler and linker expect to find
some support files from the MSYS installation. The easiest way is to just run
Emacs from a MSYS shell. Another way would be to create a "stub installation" of
MSYS inside the emacs installation dir copying only the files that are
necessary.

The second way seems to be best, especially when you consider that shipping a
full MSYS installation alongside emacs is not a good idea.

PS: I don't understand why the freloc table is necessary. Is it impossible to
rely on the dynamic linker to solve that when calling dlopen()?

Nicolas



reply via email to

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