Subject: bug#2507: 23.0.91; Stripping emacs.exe on MS-Windows produces an invalid program

From: Eli Zaretskii <[email-masked]>
Date: Mon, 11 Jul 2011 19:03:20 +0300

> From: Lars Magne Ingebrigtsen <[email-masked]>
> Cc: [email-masked]
> Date: Mon, 11 Jul 2011 15:53:45 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > Please describe exactly what actions triggered the bug
> > and the precise symptoms of the bug:
> >
> >   strip emacs.exe
> >   emacs -Q
> >
> > results in the OS popping an error dialog saying:
> >
> >   emacs.exe is not a valid Win32 application
> 
> Presumably Emacs doesn't strip itself, otherwise it wouldn't work at all
> on Windows, which it apparently does.  :-)

The default link command produces an unstripped binary, as on other
supported platforms.

> So it this still a problem?

Yes, of course.  No one did anything about this problem, AFAIK.