[Top][All Lists]

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

Re: Bloat in the Emacs Windows package

From: Eli Zaretskii
Subject: Re: Bloat in the Emacs Windows package
Date: Thu, 18 Apr 2019 22:08:08 +0300

> From: Phillip Lord <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Thu, 18 Apr 2019 17:05:14 +0100
> > I can tell how to do the latter, if you want.  It boils down to
> > running 2 objcopy commands.
> So many options!
> Again, happy to do whatever can be fitted into my shell script that I
> use to build the zip files.

Not sure if that's a yes, but anyway...

Given an unstripped emacs.exe, you produce the stripped emacs.exe and
the separate debug info file like this:

  objcopy --only-keep-debug emacs.exe emacs.debug
  strip -g emacs.exe
  objcopy --add-gnu-debuglink=emacs.debug emacs.exe

When unpacked, the emacs.debug file should install into the bin/.debug
directory of the Emacs installation.


reply via email to

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