all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: on how to install gnutls dlls on windows
Date: Tue, 20 Apr 2021 17:51:59 +0200	[thread overview]
Message-ID: <87bla9eyxs.fsf@telefonica.net> (raw)
In-Reply-To: 86sg3lp24i.fsf@protonmail.com

Wayne Harris via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

>>> Doesn't emacs.exe depend on LIBGNUTLS-30.DLL?
>>
>> Emacs loads certain dlls at runtime, only when you use a feature that
>> requires them.
>
> Hm, I thought all DLLs were equivalent to UNIX shared objects.  But I
> guess DLL means both shared object and those archives whose names always
> end in ``.a'' as in ``mylib.a'' to be linked against at link-time.

foo.dll.a is an import library, a helper file that is used by the linker to
know that such and such symbol is defined in foo.dll.

Usually, DLLs are loaded automatically when the executable starts. The
executable lists the dlls required to run. But, once running, the
application can use an API to request from the OS "I want to open
foo.dll and then I want the addresses of such and such functions defined
on that dll". That's runtime dynamic linking.

BTW, UNIX shared objects also provide those possibilities.

>> Dependency Walker, by default, only shows dlls that were required at
>> link-time (when the Emacs executable was created) although it also has a
>> method for running an application and watching the dlls that it opens at
>> runtime.
>>
>> Please note that Dependency Walker might be problematic on 64 bit
>> applications.
>
> What sort of problems does it have, if I may ask?  I'd hate to spend
> hours trying to do something it doesn't do.

AFAIK Dependency Walker was never fully transitioned to 64 bit. Some
features can fail.

>> Process Explorer displays all running processes and the dlls that they
>> are using (among other information).
>
> Indeed.  I discovered that yesterday.  I've been studying such tools.
>
> Thank you!

You're welcome.




  reply	other threads:[~2021-04-20 15:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-18 16:12 on how to install gnutls dlls on windows Wayne Harris via Users list for the GNU Emacs text editor
2021-04-18 16:22 ` Eli Zaretskii
2021-04-18 16:44   ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-18 17:13     ` Óscar Fuentes
2021-04-18 21:43       ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-18 17:18     ` Eli Zaretskii
2021-04-18 21:40       ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-19 13:20         ` Eli Zaretskii
2021-04-19 19:35           ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-19 21:36             ` Óscar Fuentes
2021-04-20 12:33               ` Wayne Harris via Users list for the GNU Emacs text editor
2021-04-20 15:51                 ` Óscar Fuentes [this message]
2021-04-20 18:08                   ` Wayne Harris via Users list for the GNU Emacs text editor

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=87bla9eyxs.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=help-gnu-emacs@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 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.