From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: make dist target for Windows Date: Thu, 01 Apr 2010 10:44:25 +0300 Message-ID: <83fx3fy5uu.fsf@gnu.org> References: <4BB2BB70.3090608@gmail.com> <83eij0zydg.fsf@gnu.org> <87634cdr0l.fsf@home.jasonrumney.net> <4BB3DE2D.7060708@gmail.com> <4BB42877.90601@gnu.org> <83oci3y893.fsf@gnu.org> <4BB44A0C.2080300@swipnet.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1270108315 31955 80.91.229.12 (1 Apr 2010 07:51:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Apr 2010 07:51:55 +0000 (UTC) Cc: jasonr@gnu.org, emacs-devel@gnu.org To: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 01 09:51:51 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NxFBt-0007qU-T5 for ged-emacs-devel@m.gmane.org; Thu, 01 Apr 2010 09:51:50 +0200 Original-Received: from localhost ([127.0.0.1]:60152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxFBt-0001yH-AF for ged-emacs-devel@m.gmane.org; Thu, 01 Apr 2010 03:51:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxF4z-0007Ol-IH for emacs-devel@gnu.org; Thu, 01 Apr 2010 03:44:41 -0400 Original-Received: from [140.186.70.92] (port=37927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxF4u-0007NL-Ne for emacs-devel@gnu.org; Thu, 01 Apr 2010 03:44:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxF4t-0002al-6L for emacs-devel@gnu.org; Thu, 01 Apr 2010 03:44:36 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50888) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxF4s-0002ad-UJ; Thu, 01 Apr 2010 03:44:35 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L0600K00TFQ1P00@a-mtaout22.012.net.il>; Thu, 01 Apr 2010 10:44:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.124.92.42]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L0600I19TI14O70@a-mtaout22.012.net.il>; Thu, 01 Apr 2010 10:44:26 +0300 (IDT) In-reply-to: <4BB44A0C.2080300@swipnet.se> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123010 Archived-At: > Date: Thu, 01 Apr 2010 09:23:56 +0200 > From: Jan Dj=E4rv > Cc: emacs-devel@gnu.org, Jason Rumney >=20 > > However, as this option is a close relative of `strip', I'm afrai= d > > that it might not work, for the same (unknown) reasons stripping = the > > dumped Emacs executable doesn't work. >=20 > How does the breakage manifest itself? "strip emacs.exe" produces an emacs.exe that Windows refuses to run, saying that it's an invalid executable. > It seems to work on GNU/Linux (Ubuntu), but I haven't run it > extensively. Oh, this is a Windows-specific problem. My guess is that either unexw32.c does something wrong, or maybe the special sections we add with addsection have that adverse effect. Someone who knows their wa= y in binary executable formats on Windows should look into this.