all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Bruno Haible <bruno@clisp.org>
Cc: corwin@bru.st, Emacs-devel@gnu.org, luangruo@yahoo.com,
	eggert@cs.ucla.edu
Subject: Re: Windows port binaries
Date: Wed, 16 Aug 2023 14:36:52 +0300	[thread overview]
Message-ID: <83ttsz8bhn.fsf@gnu.org> (raw)
In-Reply-To: <3861918.kkAUEy7oZ9@nimes> (message from Bruno Haible on Tue, 15 Aug 2023 21:57:47 +0200)

> From: Bruno Haible <bruno@clisp.org>
> Cc: Po Lu <luangruo@yahoo.com>, Paul Eggert <eggert@cs.ucla.edu>
> Date: Tue, 15 Aug 2023 21:57:47 +0200
> 
> >   https://corwin.bru.st/emacs-29
> >   https://corwin.bru.st/emacs-30
> 
> Thanks. I tried to use the
> https://corwin.bru.st/emacs-30/emacs-30-latest-no-deps.zip
> binary from today, but they don't work for me (on Windows 10), because
> 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 maybe there's no way to
avoid that with MinGW64 ports of GCC.  See below.

> Find below the output of "dumpbin.exe /imports emacs.exe".

A more GNU-friendly way is

  objdump -p emacs.exe | fgrep "DLL Name:"

> Additionally, I find it strange:
> 
>   1) Why are the imports from libgmp all prefixed with '__'? That's
>      a bit unusual.

Why are you asking us?  The Emacs project doesn't build libgmp, it
only uses it.  This question shouldf go to the GMP developers, IMO.

>   2) emacs/nt/mingw-cfg.site contains this comment:
>        # We don't want to check for these functions
>        # because they are implemented in libwinpthread.
>      corresponding to this ChangeLog entry:
> 
>        2016-04-21  Fabrice Popineau  <fabrice.popineau@gmail.com>
> 
>                Avoid run-time dependency on libwinpthread DLL on MS-Windows
> 
>                * nt/mingw-cfg.site (ac_cv_search_clock_gettime)
>                (ac_cv_func_clock_gettime, ac_cv_func_clock_settime): Force to not
>                present, so that MinGW64 builds don't depend on libwinpthread.
>                (Bug#22959)
> 
>      However, the binaries rely on nanosleep() from libwinpthread.
>      Is it intended or unintended?

I guess this is some kind of regression.  But I'm not sure we can
avoid this, when MinGW64 is used.  (I use mingw.org's MinGW, and my
Emacs on Windows doesn't have the libwinpthread dependency.)



  parent reply	other threads:[~2023-08-16 11:36 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4536176.VaOIPsP7d9@nimes>
2023-08-13  2:49 ` boot-time: straighten code Paul Eggert
2023-08-13  3:26   ` Po Lu
2023-08-13  6:35     ` Paul Eggert
2023-08-13 13:45     ` Bruno Haible
2023-08-13 14:16     ` Bruno Haible
2023-08-13 14:36     ` Bruno Haible
2023-08-13 23:44       ` Po Lu
2023-08-13 23:59         ` Bruno Haible
2023-08-14  1:07           ` Po Lu
2023-08-14  2:14             ` Corwin Brust
2023-08-15 19:57               ` Windows port binaries Bruno Haible
2023-08-16  6:45                 ` Po Lu
2023-08-16 11:36                 ` Eli Zaretskii [this message]
2023-08-17 14:01                   ` Bruno Haible
2023-08-17 14:14                     ` Eli Zaretskii
2023-08-14  8:02   ` boot-time: straighten code Andreas Schwab
2023-08-14  9:15     ` Bruno Haible
2023-08-14  9:20       ` Andreas Schwab
2023-08-14 10:19         ` Bruno Haible
2023-08-14 10:33           ` Andreas Schwab
2023-08-14 13:51             ` Bruno Haible
2023-08-15 23:03               ` Paul Eggert
2023-08-15 21:12   ` Bruno Haible
2023-08-16 10:13     ` Bruno Haible

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83ttsz8bhn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Emacs-devel@gnu.org \
    --cc=bruno@clisp.org \
    --cc=corwin@bru.st \
    --cc=eggert@cs.ucla.edu \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.