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: Eli Zaretskii
Subject: Re: How to build a smaller emacs
Date: Wed, 26 Sep 2007 11:15:18 +0200

> From: litchie <address@hidden>
> Date: Wed, 26 Sep 2007 00:18:57 -0700
> 
> On Sep 26, 3:00 pm, litchie <address@hidden> wrote:
> > On Sep 26, 5:29 am, Eli Zaretskii <address@hidden> wrote:
> >
> > > > From: litchie <address@hidden>
> > > > 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.




reply via email to

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