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: building Emacs on Msys2/mingw32 Date: Tue, 09 Sep 2014 21:11:38 +0300 Message-ID: <83ppf4ackl.fsf@gnu.org> References: <540E2585.5070606@alice.it> <83d2b4c3l6.fsf@gnu.org> <540F3E8E.10209@alice.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1410286321 8801 80.91.229.3 (9 Sep 2014 18:12:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2014 18:12:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 09 20:11:54 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XRPtS-0004UD-0X for ged-emacs-devel@m.gmane.org; Tue, 09 Sep 2014 20:11:54 +0200 Original-Received: from localhost ([::1]:51234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRPtR-0006Aw-Hf for ged-emacs-devel@m.gmane.org; Tue, 09 Sep 2014 14:11:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRPt9-0006Am-4g for emacs-devel@gnu.org; Tue, 09 Sep 2014 14:11:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRPt4-0005MN-0k for emacs-devel@gnu.org; Tue, 09 Sep 2014 14:11:35 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:63564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRPt3-0005MC-Ow for emacs-devel@gnu.org; Tue, 09 Sep 2014 14:11:29 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NBN00200BOE7300@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Tue, 09 Sep 2014 21:11:28 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBN0023NBV30650@a-mtaout20.012.net.il>; Tue, 09 Sep 2014 21:11:28 +0300 (IDT) In-reply-to: <540F3E8E.10209@alice.it> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174128 Archived-At: > Date: Tue, 09 Sep 2014 19:53:18 +0200 > From: Angelo Graziosi > CC: emacs-devel@gnu.org > > if test "no" = "yes"; then \ > rm -f bootstrap-emacs.exe; \ > ln temacs.exe bootstrap-emacs.exe; \ > else \ > ./temacs --batch --load loadup bootstrap || exit 1; \ > test "X" = X || -zex emacs.exe; \ > mv -f emacs.exe bootstrap-emacs.exe; \ > fi > /bin/sh: riga 4: ./temacs: cannot execute binary file: Exec format error > Makefile:828: set di istruzioni per l'obiettivo "bootstrap-emacs.exe" non riuscito ?? What does "file temacs.exe" says? > make[1]: *** [bootstrap-emacs.exe] Errore 1 > make[1]: uscita dalla directory "/tmp/emacs-master/src" > Makefile:379: set di istruzioni per l'obiettivo "src" non riuscito > make: *** [src] Errore 2 > > 2) mingw64_shell.bat (success) > $ ./autogen.sh > $ ./configure --without-imagemagick > $ make > > completed successfully! Maybe the failure I saw before was a consequence > of the '-j3' option.. Obviously, the way to answer this is to try mingw32_shell.bat without "-j3". > So, which way (x86_64-w64-mingw32 / x86_64-pc-mingw32) is the best to > build Emacs on MSYS2? I have no idea, I use neither MSYS2 nor MinGW64.