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.devel Subject: Re: Bloat in the Emacs Windows package Date: Thu, 18 Apr 2019 18:39:24 +0200 Message-ID: <8736mfs1xf.fsf@telefonica.net> References: <87zhood4ca.fsf@russet.org.uk> <87mukosinl.fsf@telefonica.net> <8736mf2toq.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="19847"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 18 18:40:53 2019 Return-path: Envelope-to: ged-emacs-devel@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 1hHA5l-00054a-0Q for ged-emacs-devel@m.gmane.org; Thu, 18 Apr 2019 18:40:53 +0200 Original-Received: from localhost ([127.0.0.1]:44295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHA5k-0002u3-1d for ged-emacs-devel@m.gmane.org; Thu, 18 Apr 2019 12:40:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHA4U-0002Al-Sk for emacs-devel@gnu.org; Thu, 18 Apr 2019 12:39:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHA4T-0001DC-3F for emacs-devel@gnu.org; Thu, 18 Apr 2019 12:39:34 -0400 Original-Received: from [195.159.176.226] (port=53262 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hHA4R-0001C8-SD for emacs-devel@gnu.org; Thu, 18 Apr 2019 12:39:32 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hHA4P-0003Zg-8t for emacs-devel@gnu.org; Thu, 18 Apr 2019 18:39:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:l2DoN3RFl/pL6P6mEi9e6vmXx6s= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235626 Archived-At: Phillip Lord writes: >> There is a simple approach to this: `make install' as usual, package as >> usual (without dependencies) but name that package >> emacs-debug-blah-blah. Now run `strip` on Emacs binary directory and >> proceed to do the normal packaging. >> >> If the user wants to debug Emacs at the C level, he grabs >> emacs-debug-blah-blah and unzips it on top of his current install. > > Alas, that would produce a combinatorial explosion -- for Emacs-27 there > are already 6 binary downloads. Adding a debug version of these would > make 12. Not really. One debug package containing the binaries with debug info is enough. The idea is to be able to unzip the debug package over an existing install and replace the non-debug binaries with the debug binaries. For bonus points, build those debug binaries with optimizations turned off :-)