From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Emacs 26.1 on Windows is HUGE Date: Tue, 16 Apr 2019 22:54:40 +0200 Message-ID: <87r2a1u0vj.fsf@telefonica.net> References: <87d0loujuf.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="126837"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?Bj=C3=B6rn?= Lindqvist Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 16 22:54:59 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGV6Y-000Wot-Ck for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Apr 2019 22:54:59 +0200 Original-Received: from localhost ([127.0.0.1]:42691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGV6X-00050b-9m for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Apr 2019 16:54:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGV6M-0004zm-Av for help-gnu-emacs@gnu.org; Tue, 16 Apr 2019 16:54:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGV6L-0007wV-Al for help-gnu-emacs@gnu.org; Tue, 16 Apr 2019 16:54:46 -0400 Original-Received: from relayout01-redir.e.movistar.es ([86.109.101.201]:50189) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGV6L-0007sh-1w for help-gnu-emacs@gnu.org; Tue, 16 Apr 2019 16:54:45 -0400 Original-Received: from sky (81.red-79-151-7.dynamicip.rima-tde.net [79.151.7.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout01.e.movistar.es (Postfix) with ESMTPSA id 44kHg52wJ9zfZpY; Tue, 16 Apr 2019 22:54:41 +0200 (CEST) In-Reply-To: (=?utf-8?Q?=22Bj=C3=B6rn?= Lindqvist"'s message of "Tue, 16 Apr 2019 22:35:28 +0200") X-CTCH-Score: 0.000 X-CTCH-ScoreCust: 0.000 X-TnetOut-Country: IP: 79.151.7.81 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout01 X-TnetOut-MsgID: 44kHg52wJ9zfZpY.A5FB0 X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1556052881.69688@goWt6mO0dIduP04x0XmQbA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 86.109.101.201 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:119939 Archived-At: Bj=C3=B6rn Lindqvist writes: >> Most likely the executables include debug information. It uses disk >> space but no RAM. >> >> On addition to that, one thing that makes little for this distribution >> is to include emacs.exe and emacs-26.1.exe, which are identical. >> >> BTW, 26.2 was just released, although the binary pretests on >> >> https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-26/ >> >> have the same size. >> >> You can use `strip.exe' (from binutils) to remove the debug information. > > I tried that. I downloaded the strip.exe fom > > https://sourceforge.net/projects/mingw/files/MinGW/Base/binutils/binutils= -2.28/ > > But when running it on the binary: > > > C:\code\langs\MingGW\bin\strip.exe -s emacs.exe > C:\code\langs\MingGW\bin\strip.exe:emacs.exe: File format not recogni= zed You have Emacs x86_64 and that "strip.exe" executable is for i686. That means that you have a 64 bits Emacs Windows executable but the strip.exe executable was configured for working on 32 bits executables.