emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs and the static flag in the windows build


From: Eli Zaretskii
Subject: Re: Emacs and the static flag in the windows build
Date: Sat, 07 Jan 2023 08:49:54 +0200

> 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 via email to

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