emacs-devel
[Top][All Lists]
Advanced

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

Re: Windows port binaries


From: Eli Zaretskii
Subject: Re: Windows port binaries
Date: Thu, 17 Aug 2023 17:14:06 +0300

> From: Bruno Haible <bruno@clisp.org>
> Cc: corwin@bru.st, Emacs-devel@gnu.org, luangruo@yahoo.com, eggert@cs.ucla.edu
> 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.

Thanks, but please allow MinGW to use its own implementation if time.h
declares it and a test program calling it links without pthreads.  At
least mingw.org's MinGW does have nanosleep which doesn't need
pthreads.



reply via email to

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