unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: 2507@emacsbugs.donarmstrong.com
Subject: bug#2507: 23.0.91; Stripping emacs.exe on MS-Windows produces an invalid program
Date: Sat, 28 Feb 2009 14:14:16 +0200	[thread overview]
Message-ID: <u1vtipxlz.fsf@gnu.org> (raw)
In-Reply-To: <u7i3aq0zw.fsf@gnu.org>

> Date: Sat, 28 Feb 2009 13:01:07 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 
> 
>   strip emacs.exe
>   emacs -Q
> 
> results in the OS popping an error dialog saying:
> 
>   emacs.exe is not a valid Win32 application

More info: building Emacs like this:

    make USER_LDFLAGS=-s install

produces an already stripped emacs.exe that is 8548352 bytes large.
So this should serve as a stop-gap in case we cannot easily find a
cure for running `strip' on the dumped Emacs.

One further idea to ponder is that the fact we now compile with
DWARF-2 debug info is the reason for the problem with stripping the
dumped Emacs.  Can someone please try rebuilding with "-gstabs"
instead of "-gdwarf-2 -g3", and see if that produces an emacs.exe
which can be safely stripped?






  reply	other threads:[~2009-02-28 12:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-28 11:01 bug#2507: 23.0.91; Stripping emacs.exe on MS-Windows produces an invalid program Eli Zaretskii
2009-02-28 12:14 ` Eli Zaretskii [this message]
2009-03-01  6:01   ` Harald Maier
2009-03-01 17:15     ` Eli Zaretskii
2009-03-02 11:55   ` Juanma Barranquero
2009-03-02 19:05     ` Eli Zaretskii
2011-07-11 13:53 ` Lars Magne Ingebrigtsen
2011-07-11 14:12   ` Juanma Barranquero
2011-07-11 16:03   ` Eli Zaretskii
2011-07-11 16:09     ` Lars Magne Ingebrigtsen
2011-07-11 16:22       ` Eli Zaretskii
2011-07-11 19:36         ` Juanma Barranquero
2011-07-12  4:56           ` Stefan Monnier
2011-07-12 11:03             ` Juanma Barranquero
2011-07-13 14:16             ` Jason Rumney
2013-04-07 16:44               ` Eli Zaretskii
2014-06-04 18:42                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u1vtipxlz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=2507@emacsbugs.donarmstrong.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).