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: Mon, 11 May 2020 13:44:03 -0300

> This only solves the problem of having the stuff on PATH, it doesn't
> solve the problem of installing it.  And it creates a new problem: the
> DLLs will not be in a place where the system looks for them, so we
> will need some extra code in the *.eln loader to find them.

The .eln files do not link against any dynamic libraries. They can be loaded
into Emacs even if GCC is not in the path. `ld` needs a few object files and
static libraries to create the file. I am typing this from an Emacs that does
not have gcc in PATH and it has many .eln files loaded.

>> I will do this.

> Thanks.

I have seen that the way to declare DLL functions to be used in Windows is to
use the DEF_DLL_FN macro. This only works in Windows though. Is there a library
that is loaded through dlopen() in Posix too? I would like to use it as an
example.



reply via email to

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