help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to build a smaller emacs


From: litchie
Subject: Re: How to build a smaller emacs
Date: Wed, 26 Sep 2007 02:37:48 -0700
User-agent: G2/1.0

On Sep 26, 5:15 pm, Eli Zaretskii <e...@gnu.org> wrote:
> > From: litchie <licha...@gmail.com>
> > Date: Wed, 26 Sep 2007 00:18:57 -0700
>
> > On Sep 26, 3:00 pm, litchie <licha...@gmail.com> wrote:
> > > On Sep 26, 5:29 am, Eli Zaretskii <e...@gnu.org> wrote:
>
> > > > > From: litchie <licha...@gmail.com>
> > > > > Date: Tue, 25 Sep 2007 02:00:56 -0700
>
> > > > > I want to build a smaller emacs, I mean the executable emacs.exe.
> > > > > Currently it is around 27M..
>
> > > > You mean, your executable file emacs.exe is 27MB?  It should be only
> > > > 10MB (6MB if you strip off debugging info).
>
> > > Could you please tell me how to do it? My system is winxp with MinGW.
>
> > > Thanks in advance.
> > > chaoji
>
> > I find the strip utility and use --strip-all to get it down to 21MB.
> > It is still a bigger one than that you mentioned.
>
> How did it get this large in the first place?  What compiler did you
> use to build it?  If you didn't build it yourself, where did you
> download the binary?
>
> I didn't do anything special to build Emacs (with the MinGW port of
> GCC), and the resulting binary emacs.exe is 10MB before stripping it.

I built it with MinGW. (i386-mingw-nt5.1.2600)

The emacs.exe from  ntemacs.sourceforge.net is also around 20MB.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]