unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.g0@libero.it>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs and the static flag in the windows build
Date: Sat, 07 Jan 2023 08:49:54 +0200	[thread overview]
Message-ID: <83mt6uu9d9.fsf@gnu.org> (raw)
In-Reply-To: <1330301653.618908.1673047872941@mail1.libero.it> (message from Angelo Graziosi on Sat, 7 Jan 2023 00:31:12 +0100 (CET))

> Date: Sat, 7 Jan 2023 00:31:12 +0100 (CET)
> From: Angelo Graziosi <angelo.g0@libero.it>
> 
> Maybe you remember that this script: https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/nt/dist-build/build-zips.sh use the '-static' in the build.
> 
> Now, a recent upgrade on MSYS2 has broken this. Maybe someone of you could be interested to this discussion with MSYS2 people: 
> 
> https://github.com/msys2/MINGW-packages/issues/14799#issue-1514148019

If the static library for GMP (or any other library you configure
Emacs to link against) is not available, using -static is bound to
fail.

The script you mention is for preparing the Emacs binaries that we
offer on the GNU FTP site, it is not the officially recommended way of
building Emacs for your own use.  AFAIR, we use -static to avoid the
dependency on pthreads or something.  Maybe that problem no longer
exists?

And I'm not sure I understand why MSYS2 no longer provides a static
library for GMP, maybe ask them to reconsider?



      reply	other threads:[~2023-01-07  6:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06 23:31 Emacs and the static flag in the windows build Angelo Graziosi
2023-01-07  6:49 ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83mt6uu9d9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=angelo.g0@libero.it \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).