emacs-devel
[Top][All Lists]
Advanced

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

Re: Windows port binaries


From: Bruno Haible
Subject: Re: Windows port binaries
Date: Thu, 17 Aug 2023 16:01:23 +0200

Eli Zaretskii wrote:
> > they rely on two DLLs which are not contained in the 'bin' directory:
> >   - libgmp-10.dll
> >   - libwinpthread-1.dll
> 
> libwinpthread-1.dll shouldn't be there. ...
> But I'm not sure we can avoid this, when MinGW64 is used.

The dependency comes from Gnulib. Emacs uses the gnulib module 'nanosleep',
and it picks the nanosleep function from libwinpthread-1.dll. I can reproduce
this directly in Gnulib.

Since this DLL dependency is an annoyance also for other people who produce
Windows binaries (I'm thinking of gettext and others), I'll change Gnulib
to avoid this dependency.

> A more GNU-friendly way is
> 
>   objdump -p emacs.exe | fgrep "DLL Name:"

Thanks; that's a nice shortcut, because I usually have 'objdump' in my $PATH.

Bruno






reply via email to

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