From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: building Emacs on Msys2/mingw32 Date: Tue, 09 Sep 2014 00:53:43 +0200 Message-ID: <87bnqp7mh4.fsf@wanadoo.es> References: <540E2585.5070606@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1410216861 3440 80.91.229.3 (8 Sep 2014 22:54:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2014 22:54:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 09 00:54:13 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 1XR7p6-0007Xy-46 for ged-emacs-devel@m.gmane.org; Tue, 09 Sep 2014 00:54:12 +0200 Original-Received: from localhost ([::1]:46065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR7p5-0000dE-PQ for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2014 18:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR7ox-0000cK-L5 for emacs-devel@gnu.org; Mon, 08 Sep 2014 18:54:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XR7or-0002i6-Qi for emacs-devel@gnu.org; Mon, 08 Sep 2014 18:54:03 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XR7or-0002hq-JZ for emacs-devel@gnu.org; Mon, 08 Sep 2014 18:53:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XR7on-0007Os-Vi for emacs-devel@gnu.org; Tue, 09 Sep 2014 00:53:53 +0200 Original-Received: from 18.red-83-41-63.dynamicip.rima-tde.net ([83.41.63.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Sep 2014 00:53:53 +0200 Original-Received: from ofv by 18.red-83-41-63.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Sep 2014 00:53:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 18.red-83-41-63.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:2BuSQUNG61EztltzgqQPlRd8dAk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:174100 Archived-At: Angelo Graziosi writes: > Óscar Fuentes wrote: >> All this and the remaining removed text is unnecessary if you use >> mingw32_shell.bat > > Hmm... This was what I thought. I build the W64 binaries of Emacs, and > I DO use mingw64_shell.bat, where: > [snip] > and I build with > > $ ./autogen.sh > $ ./configure --prefix=/Emacs --with-wide-int > --build=x86_64-w64-mingw32 --without-imagemagick > 'CFLAGS=-I/mingw64/include/noX -Ofast -g0 -pipe' LDFLAGS=-pipe > > $ make -j3 > > > If I remove the "--build=x86_64-w64-mingw32" option to configure, the > build is configure for x86_64-pc-mingw64, > > [...] > Configured for `x86_64-pc-mingw64'. [snip] > and 'make -j3' fails at some point.. Instead, with that configure > option, the build is configure for 'x86_64-w64-mingw32' and it is > completed successfully... Either the configure script does not handle the target triple x86_64-pc-mingw64 correctly, or that target triple is incorrect (IIRC the target triple is inferred by a script `configure' calls: build-aux/config.guess.) > So, may you explain how you build Emacs on MSYS2? I don't build Emacs 64 bits on Windows, just the 32 bit build (as the OP does). It works fine without passing any parameter to `configure'.