unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tomas Nordin <tomasn@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
Subject: Re: Emacs 25 size and static linking
Date: Wed, 10 Jan 2018 22:21:51 +0100	[thread overview]
Message-ID: <87a7xle7f4.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <83k1wq5qje.fsf@gnu.org>

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Robert Thorpe <rt@robertthorpeconsulting.com>
>> Date: Wed, 10 Jan 2018 01:06:52 +0000
>> 
>> I use Emacs 25 on MS Windows.
>> 
>> I've noticed that the executable for Emacs 25 is much larger than the
>> executable was for Emacs 24.  It's nearly 10 times larger.

I see something similar, see below.

>> I presume this is because some libraries have been statically linked
>>  into Emacs. I expect that means that the MS Windows user doesn't
>> have to install those libraries separately?
>> 
>> Is this correct?
>
> No, I think the Emacs 24 binary you were using was stripped.  What is
> its size, and what is the size of the Emacs 25 binary?

Here is the listings of the emacs bin directory for respective version
on the windows machine I use

$ ls -hl emacs-24.5/bin
total 26M
-rwxr-xr-x 1 username 1049089 577K Oct 26  2016 addpm.exe*
-rwxr-xr-x 1 username 1049089 956K Oct 26  2016 ctags.exe*
-rwxr-xr-x 1 username 1049089 713K Oct 26  2016 ebrowse.exe*
-rwxr-xr-x 1 username 1049089 8.8M Oct 26  2016 emacs.exe*
-rwxr-xr-x 1 username 1049089 8.8M Oct 26  2016 emacs-24.5.exe*
-rwxr-xr-x 1 username 1049089 997K Oct 26  2016 emacsclient.exe*
-rwxr-xr-x 1 username 1049089 652K Oct 26  2016 emacsclientw.exe*
-rwxr-xr-x 1 username 1049089 953K Oct 26  2016 etags.exe*
-rwxr-xr-x 1 username 1049089 7.0K Oct 26  2016 grep-changelog*
-rwxr-xr-x 1 username 1049089 1.1M Jan 31  2017 libiconv-2.dll*
-rwxr-xr-x 1 username 1049089 1.1M Jan 31  2017 libxml2-2.dll*
-rwxr-xr-x 1 username 1049089 520K Oct 26  2016 libXpm.dll*
-rwxr-xr-x 1 username 1049089 483K Oct 26  2016 runemacs.exe*
-rwxr-xr-x 1 username 1049089  71K Jan 31  2017 zlib1.dll*
$ ls -hl emacs-25.3_1/bin
total 205M
-rwxr-xr-x 1 username 1049089 2.3M Jan  4 11:54 addpm.exe*
-rwxr-xr-x 1 username 1049089 2.5M Jan  4 11:54 ctags.exe*
-rwxr-xr-x 1 username 1049089 1.9M Jan  4 11:54 ebrowse.exe*
-rwxr-xr-x 1 username 1049089  95M Jan  4 11:54 emacs.exe*
-rwxr-xr-x 1 username 1049089  95M Jan  4 11:54 emacs-25.3.exe*
-rwxr-xr-x 1 username 1049089 2.5M Jan  4 11:54 emacsclient.exe*
-rwxr-xr-x 1 username 1049089 1.9M Jan  4 11:54 emacsclientw.exe*
-rwxr-xr-x 1 username 1049089 2.5M Jan  4 11:54 etags.exe*
-rwxr-xr-x 1 username 1049089  76K Jan  4 11:54 libXpm-noX4.dll*
-rwxr-xr-x 1 username 1049089 1.7M Jan  4 11:54 runemacs.exe*





  reply	other threads:[~2018-01-10 21:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10  1:06 Emacs 25 size and static linking Robert Thorpe
2018-01-10  3:41 ` Eli Zaretskii
2018-01-10 21:21   ` Tomas Nordin [this message]
2018-01-11  3:41     ` Eli Zaretskii
2018-01-12 23:48       ` Robert Thorpe
2018-01-13  7:43         ` Eli Zaretskii

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=87a7xle7f4.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me \
    --to=tomasn@posteo.net \
    --cc=eliz@gnu.org \
    --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.
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).