[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2507: 23.0.91; Stripping emacs.exe on MS-Windows produces an invalid
From: |
Jason Rumney |
Subject: |
bug#2507: 23.0.91; Stripping emacs.exe on MS-Windows produces an invalid program |
Date: |
Wed, 13 Jul 2011 22:16:36 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> The unstripped binary measures 37MB on Windows
>> Or more. Mine is at ~42 MiB unstripped, ~10 MiB stripped (but I
>> doesn't work, of course).
>
> So the stripped version can be compressed *much* further without losing
> any functionality. Cool!
If you build without debug info in the first place, it does work, at
around the same size. Also if you strip temacs before dumping, it
works. The problem is only in stripping a dumped binary that had
debug info to start with. It seems the strip command removes some info
that Emacs needs to reconstruct the heap from the dumped image.