all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com>
Cc: larsi@gnus.org, emacs-devel@gnu.org
Subject: Re: Fallback mode for image magick?
Date: Sun, 07 Jul 2013 18:59:16 +0300	[thread overview]
Message-ID: <83vc4mwecr.fsf@gnu.org> (raw)
In-Reply-To: <CANtbJLF_tWdUgU-iQp5GscS8Q0UpQ7LA5YE9i946htfkMWhS4g@mail.gmail.com>

> From: Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com>
> Date: Sun, 7 Jul 2013 11:28:12 +0200
> Cc: Lars Ingebrigtsen <larsi@gnus.org>, emacs-devel@gnu.org
> 
> > Btw, statically linking against ImageMagick is a no-starter for
> > Windows.  But this can be fixed later, once the statically linked
> > executable works.
> >
> 
> I guess there might be a misunderstanding in my compiling-vocabulary here;
> What I meant is that I compiled with "--ldflags -static".

I understood that you did something like that, so there's no
misunderstanding.  My point was that linking statically against
ImageMagick is unacceptable as general-purpose build procedure for
Windows, because the Windows build loads optional libraries
dynamically when needed (and does not fail or crash if they are not
available).

Of course, for testing purposes, it is perfectly valid to try the
static link, as a shortcut.

> When I compiled this way, emacs would start without complaint when
> any of the DLLs (including jpeg, png etc) were not available, which
> is the behaviour I saw in binary releases for Windows.

Your Emacs is statically linked against ImageMagick libraries, and all
the libraries that ImageMagick depend on.  That includes jpeg, png,
etc.  So it's a small wonder Emacs doesn't complain.

> When I did not use the -static flag and removed the DLLs from PATH, emacs
> would crash on startup saying DLLs are missing.

Because ImageMagick depends on them.  Without ImageMagick, when these
DLLs are absent, there are no complaints (and no image support).



      reply	other threads:[~2013-07-07 15:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 14:05 Fallback mode for image magick? Klaus-Dieter Bauer
2013-06-27 15:35 ` Lars Magne Ingebrigtsen
2013-06-27 16:17   ` Glenn Morris
2013-06-27 16:29   ` Klaus-Dieter Bauer
2013-06-27 17:34   ` Eli Zaretskii
2013-06-27 17:00 ` Glenn Morris
2013-06-28 12:15   ` Klaus-Dieter Bauer
2013-06-28 12:22     ` Lars Magne Ingebrigtsen
2013-07-01 22:00       ` Klaus-Dieter Bauer
2013-07-02 22:12         ` Klaus-Dieter Bauer
2013-07-06 15:31           ` Lars Ingebrigtsen
2013-07-06 15:52             ` Eli Zaretskii
2013-07-06 15:59               ` Lars Ingebrigtsen
2013-07-06 16:04                 ` Eli Zaretskii
2013-07-07  9:22                 ` Klaus-Dieter Bauer
2013-07-06 17:10               ` Glenn Morris
2013-07-07  9:28               ` Klaus-Dieter Bauer
2013-07-07 15:59                 ` 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

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

  git send-email \
    --in-reply-to=83vc4mwecr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bauer.klaus.dieter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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.