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?Bj=C3=B6rn_Lindqvist?= Newsgroups: gmane.emacs.help Subject: Re: Emacs 26.1 on Windows is HUGE Date: Wed, 17 Apr 2019 06:09:22 +0200 Message-ID: References: <87d0loujuf.fsf@telefonica.net> <87r2a1u0vj.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="159065"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org To: =?UTF-8?Q?=C3=93scar_Fuentes?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 17 06:06:17 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 1hGbpx-000f2c-13 for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Apr 2019 06:06:17 +0200 Original-Received: from localhost ([127.0.0.1]:46489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGbpp-0008GH-7V for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Apr 2019 00:06:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGbpe-0008Ft-4m for help-gnu-emacs@gnu.org; Wed, 17 Apr 2019 00:05:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGbpd-0005Do-2I for help-gnu-emacs@gnu.org; Wed, 17 Apr 2019 00:05:58 -0400 Original-Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]:37670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hGbpc-0005DQ-NE for help-gnu-emacs@gnu.org; Wed, 17 Apr 2019 00:05:57 -0400 Original-Received: by mail-vs1-xe35.google.com with SMTP id w13so12833602vsc.4 for ; Tue, 16 Apr 2019 21:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=+XV7gupmDrR7byZfGVo2bSaUR6SgLVUzADXrzKhB+Is=; b=Gg94Vb7UQK6bIksBv0T4r2Kj1E162pZsP8pF8k9GHtfe0Ma5k0KtqOVRwnK2fLM3dm qevplDZUSCz0lBGFDxPHsl2Mch2vBKRrDdTImh4oy6Bh9IdYRSX31vqWbzBr6IuxEugs eTvnC+6HhAKQ1N1tXpjrpI1Bl7qpPslf11j84lUouL1gke886qfcpiRVXx3drg6iWdRR QoWtSuEh9rzX8QM2iy8hkUFxpiFcPBX/ON7I0s9PoMDXqOHKACMANuPywoGBWom5dJsE mzCfDlGnGk1Y1iPGs/Cu4PYaijhn5YecMbzBy2gbssoLk28gZGgW2xnnWwwUtEtsOjkp 3LsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=+XV7gupmDrR7byZfGVo2bSaUR6SgLVUzADXrzKhB+Is=; b=Fqn/SUifPVSpJX7ntALi0apoE4Q0bzflrfkAm+wjmwWOB6FO/ZOuU1NVnrp9nIT7Qz anANrrtBRr6wUD0XGtZRzSh4qQ1uKSb8VqUidwGrF//gb2uD+n/v1fg09dHS5TVtT8Oe OXJ8NlrW3qtmVJBRaXa3HdF5jZCBZg4JDeXmkw+iG4bUXwTNMVmwssxK5ugGEipKOaVY GcTVuHa0V/gkiWFoHrFPzinuFlUn+yXgB8BSiysyaHCi/U/D6Es0iKgC2ZkvoaS9E44x nn+/d0XhQqTj9OIUvhikuoiLis1z4/vI2N5jBQJPt/Vk0qQOXEsMYvDTaL4Wo13dqKnj wT+Q== X-Gm-Message-State: APjAAAXt7y3a0YGlfXCWBHyrUNluWBbZx/XpOjjPHhmZuFB7id+uKSqg sbUZUDWCtcC7XrmZJpRV4+lt0XxEPRdeAtntvw0= X-Google-Smtp-Source: APXvYqzH1u3pMmaKBuF9KSHKc+on4RXHFFkIftIv8rg0DAcNEH2nYlTORjAu/N4JqmUnq9I0xqLWiTqugsANQosV6IU= X-Received: by 2002:a67:7e12:: with SMTP id z18mr24107074vsc.82.1555473955681; Tue, 16 Apr 2019 21:05:55 -0700 (PDT) In-Reply-To: <87r2a1u0vj.fsf@telefonica.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::e35 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:119948 Archived-At: Den tis 16 apr. 2019 kl 22:54 skrev =C3=93scar Fuentes : > > 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 informatio= n. > > > > I tried that. I downloaded the strip.exe fom > > > > https://sourceforge.net/projects/mingw/files/MinGW/Base/binutils/binuti= ls-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 recog= nized > > 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. I downloaded the 64bit MinGW (from here https://sourceforge.net/projects/mingw-w64/) and that strip.exe doesn't work either: >C:\code\langs\MingGW-64\mingw32\bin\strip.exe emacs.exe C:\code\langs\MingGW-64\mingw32\bin\strip.exe:emacs.exe: File format not recognized --=20 mvh/best regards Bj=C3=B6rn Lindqvist