From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sxzzsf@gmail.com Newsgroups: gmane.emacs.help Subject: Re: How to build a smaller emacs Date: Fri, 28 Sep 2007 03:38:22 -0000 Organization: http://groups.google.com Message-ID: <1190950702.408603.34900@d55g2000hsg.googlegroups.com> References: <1190710856.061102.35940@50g2000hsm.googlegroups.com> <1190790033.813100.216860@n39g2000hsh.googlegroups.com> <1190791137.299700.122810@57g2000hsv.googlegroups.com> <1190799468.526331.59250@o80g2000hse.googlegroups.com> <1190867620.841286.99190@50g2000hsm.googlegroups.com> <1190868107.451278.107410@d55g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1190961777 25879 80.91.229.12 (28 Sep 2007 06:42:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2007 06:42:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 28 08:42:54 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ib9Yq-0000tO-4r for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 08:42:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ib9Ym-0005pf-LZ for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Sep 2007 02:42:48 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d55g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 65 Original-NNTP-Posting-Host: 220.114.115.250 Original-X-Trace: posting.google.com 1190950702 15019 127.0.0.1 (28 Sep 2007 03:38:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 28 Sep 2007 03:38:22 +0000 (UTC) In-Reply-To: <1190868107.451278.107410@d55g2000hsg.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Maxthon; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: d55g2000hsg.googlegroups.com; posting-host=220.114.115.250; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:152431 X-Mailman-Approved-At: Fri, 28 Sep 2007 02:42:35 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47941 Archived-At: On 9 27 , 12 41 , litchie wrote: > On Sep 27, 12:33 pm, litchie wrote: > > > > > > > On Sep 26, 7:08 pm, Eli Zaretskii wrote: > > > > > Date: Wed, 26 Sep 2007 11:56:23 +0200 > > > > From: "Juanma Barranquero" > > > > Cc: help-gnu-em...@gnu.org > > > > > On 9/26/07, litchie wrote: > > > > > > I built it with MinGW. (i386-mingw-nt5.1.2600) > > > > > My build is 11,4 MiB before stripping. > > > > > Configured with > > > > > configure --with-gcc --no-cygwin --cflags -IC:/my/includes > > > > > and built with > > > > > C:\emacs> gcc --version > > > > gcc (GCC) 3.4.5 (mingw special) > > > > Copyright (C) 2004 Free Software Foundation, Inc. > > > > > M-x version => > > > > > GNUEmacs23.0.50.1 (i386-mingw-nt5.1.2600) of 2007-09-26 on JUANMAB > > > > That's the CVS version; on my machine its size is 12MB. I was talking > > > aboutEmacs22.1, which is slightly smaller. > > > > Which begs the question to chaoji: what version ofEmacswere _you_ > > > talking about? Maybe we are comparing very different programs. > > > EliZ, > > > I was talking about ntemacs23, the CVS head version. > > And I have also triedemacs22 just now, the result is 7MB, after > > stripped. > > To be more accurate: > > Directory of D:\Emacs22\bin > 09/27/2007 11:56 AM 7,424,000emacs.exe > > Directory of D:\software\ntemacs23\bin > 09/26/2007 10:40 AM 21,391,938emacs.exe > > A better title for my post may be: > How to build a smaller emacs23? > > Any suggestions would be appreciated. > thanks.- - > > - - It seems while building emacs, you have not built emacs with option "-- no-debug", for cvs branch "debug is on" default, you can check this in file nt/configure.bat.