[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 25 size and static linking
From: |
Tomas Nordin |
Subject: |
Re: Emacs 25 size and static linking |
Date: |
Wed, 10 Jan 2018 22:21:51 +0100 |
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*