emacs-devel
[Top][All Lists]
Advanced

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

Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed


From: Arash Esbati
Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed
Date: Sun, 30 Jan 2022 22:33:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

"H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de> writes:

> An aside regarding dependencies: When I'm starting Emacs from your
> current build from an MSYS2 shell I'm getting this warning:
>
>   gnutls.c: [1] (Emacs) GnuTLS library not found
>
> Even though libgnutls-30.dll, libgnutls-openssl-27.dll and
> libgnutlsxx-28.dll are in Emacs' bin/ directory.

I'm not tracking this development, so please bear with me.  Is the plan
to unpack the file emacs-28.0.91-no-deps.zip into, say C:\emacs and
unpack the .dll from emacs-28-deps.zip[1] into C:\emacs\bin?  If so, I'm
afraid that the compiled features will not work since dependencies are
missing in emacs-28-deps.zip, e.g.:

1)  libgnutls-30.dll has these dependencies:
Found: C:\path\to\msys64\mingw64\bin\libgnutls-30.dll
C:\path\to\msys64\mingw64\bin\libgnutls-30.dll
  C:\path\to\msys64\mingw64\bin\libwinpthread-1.dll
  C:\path\to\msys64\mingw64\bin\libgcc_s_seh-1.dll
  C:\path\to\msys64\mingw64\bin\libgmp-10.dll
  C:\path\to\msys64\mingw64\bin\libhogweed-6.dll
    C:\path\to\msys64\mingw64\bin\libnettle-8.dll
  C:\path\to\msys64\mingw64\bin\libidn2-0.dll
    C:\path\to\msys64\mingw64\bin\libiconv-2.dll
    C:\path\to\msys64\mingw64\bin\libintl-8.dll
    C:\path\to\msys64\mingw64\bin\libunistring-2.dll
  C:\path\to\msys64\mingw64\bin\libp11-kit-0.dll
    C:\path\to\msys64\mingw64\bin\libffi-7.dll
  C:\path\to\msys64\mingw64\bin\libtasn1-6.dll

2)  libharfbuzz-0.dll has these dependencies:
Found: C:\path\to\msys64\mingw64\bin\libharfbuzz-0.dll
C:\path\to\msys64\mingw64\bin\libharfbuzz-0.dll
  C:\path\to\msys64\mingw64\bin\libgcc_s_seh-1.dll
    C:\path\to\msys64\mingw64\bin\libwinpthread-1.dll
  C:\path\to\msys64\mingw64\bin\libstdc++-6.dll
  C:\path\to\msys64\mingw64\bin\libfreetype-6.dll
    C:\path\to\msys64\mingw64\bin\libbz2-1.dll
    C:\path\to\msys64\mingw64\bin\libbrotlidec.dll
      C:\path\to\msys64\mingw64\bin\libbrotlicommon.dll
    C:\path\to\msys64\mingw64\bin\libharfbuzz-0.dll
      C:\path\to\msys64\mingw64\bin\libglib-2.0-0.dll
        C:\path\to\msys64\mingw64\bin\libintl-8.dll
          C:\path\to\msys64\mingw64\bin\libiconv-2.dll
        C:\path\to\msys64\mingw64\bin\libpcre-1.dll
      C:\path\to\msys64\mingw64\bin\libgraphite2.dll
    C:\path\to\msys64\mingw64\bin\libpng16-16.dll
      C:\path\to\msys64\mingw64\bin\zlib1.dll

libgcc_s_seh-1.dll is an important one and IIRC, this dependency was the
one pushing Phillip into packaging the GCC source next to his binaries.

I checked the dependencies with cygcheck program shipped with Msys2 (and
snipped the standard Win libraries)

Best, Arash

Footnotes:
[1]  Files from https://git.sr.ht/~mplscorwin/emacs-w64



reply via email to

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