From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.help Subject: Re: Emacs 25 size and static linking Date: Wed, 10 Jan 2018 22:21:51 +0100 Message-ID: <87a7xle7f4.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> References: <878td68qtv.fsf@robertthorpeconsulting.com> <83k1wq5qje.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515619237 5584 195.159.176.226 (10 Jan 2018 21:20:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 21:20:37 +0000 (UTC) To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 10 22:20:33 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZNnP-0000ld-8n for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 22:20:27 +0100 Original-Received: from localhost ([::1]:41171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZNpN-0000gO-C0 for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 16:22:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZNov-0000fr-Va for help-gnu-emacs@gnu.org; Wed, 10 Jan 2018 16:22:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZNoq-0006Ix-UL for help-gnu-emacs@gnu.org; Wed, 10 Jan 2018 16:22:01 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:54064) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eZNoq-0006G9-Dy for help-gnu-emacs@gnu.org; Wed, 10 Jan 2018 16:21:56 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2F0AF20FC8 for ; Wed, 10 Jan 2018 22:21:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1515619314; bh=SVLKFrNkQ2+r8QG3RDwsiD/GcGIFxKgmWp/apqLlSeA=; h=From:To:Subject:Date:From; b=c22+At/o+ZNRCfz4XFiK5ZUo2YxBYN1Kn2rBWOe6k6QgEmT5rdNMORNGESUL2pg9g QQtbmpqoWv5uJEcgB3XwqGEQ5X06LcvUiH3Y0DB8Ev67ztSxUmHHpn9/pgt2P2Orn1 /iujPB719CBt36PwQGoAqUNYjzwYBDcxTHXPS+9pg+I+gBzva6/Jq0fcykZ3XM/X5w DLYXzd17gfIgbeIg0dp8paSI7vccvaNpPIxOUSSNkiM4X5/5BoVGF3VkvUfMniXB0t MhGPIy3dOcrkLtMFHH8bX9Zoi85IFpcdwWgXswdzGDa2ds1mnlhWzGU0iExeHiCjDS /CmpxbDmKcsDA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3zH25F2rFKz9rxM; Wed, 10 Jan 2018 22:21:53 +0100 (CET) In-Reply-To: <83k1wq5qje.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.67.36.65 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115643 Archived-At: Eli Zaretskii writes: >> From: Robert Thorpe >> 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*