From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bloat in the Emacs Windows package Date: Wed, 17 Apr 2019 19:46:47 +0300 Message-ID: <835zrcfuko.fsf@gnu.org> References: <87zhood4ca.fsf@russet.org.uk> <87mukosinl.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="155992"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 17 18:47:43 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 1hGnio-000eSC-Bh for ged-emacs-devel@m.gmane.org; Wed, 17 Apr 2019 18:47:42 +0200 Original-Received: from localhost ([127.0.0.1]:56554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGnin-0000el-DN for ged-emacs-devel@m.gmane.org; Wed, 17 Apr 2019 12:47:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGni3-0000cw-07 for emacs-devel@gnu.org; Wed, 17 Apr 2019 12:46:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGni2-00046w-Es; Wed, 17 Apr 2019 12:46:54 -0400 Original-Received: from [176.228.60.248] (port=1799 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hGni1-0003Gh-RU; Wed, 17 Apr 2019 12:46:54 -0400 In-reply-to: <87mukosinl.fsf@telefonica.net> (message from =?iso-8859-1?Q?=D3scar?= Fuentes on Wed, 17 Apr 2019 18:25:50 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:235591 Archived-At: > From: Óscar Fuentes > Date: Wed, 17 Apr 2019 18:25:50 +0200 > > > It is simply for me to remove the -g option from the windows build. This > > would reduce the overall size of the build, to the values given here: > > > > http://lists.gnu.org/archive/html/help-gnu-emacs/2019-04/msg00115.html > > > > I am happy to do this (for Emacs-27 -- I do not want to change during > > major release). But I would like feedback from people who either use or > > handle bug reports for Emacs on Windows to let me know whether this > > would break things. > > 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. There's a "make install-strip" target for that. Removing -g is not TRT, btw, as it will still leave some minimal symbols.