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: Anyone building Emacs trunk with MinGW w64 (32 bits) Date: Wed, 27 Mar 2013 09:24:53 +0200 Message-ID: <83sj3hxq2i.fsf@gnu.org> References: <87zjxumbjf.fsf@wanadoo.es> <83vc8f1t0x.fsf@gnu.org> <87sj3jcr6t.fsf@wanadoo.es> <86zjxrs4jm.fsf@gmail.com> <87k3ovcn1r.fsf@wanadoo.es> <87fvzjcles.fsf@wanadoo.es> <83boa71a0u.fsf@gnu.org> <8738vjcgli.fsf@wanadoo.es> <834nfz16cy.fsf@gnu.org> <83wqsuzhxg.fsf@gnu.org> <87k3oubcve.fsf@wanadoo.es> <83k3ouz2oy.fsf@gnu.org> <8738vhc2dt.fsf@wanadoo.es> <83zjxpyhvo.fsf@gnu.org> <87y5d9aknj.fsf@wanadoo.es> <87txnxaj4w.fsf@wanadoo.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1364369110 17418 80.91.229.3 (27 Mar 2013 07:25:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Mar 2013 07:25:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 27 08:25:35 2013 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 1UKkjf-0003OJ-4C for ged-emacs-devel@m.gmane.org; Wed, 27 Mar 2013 08:25:27 +0100 Original-Received: from localhost ([::1]:37372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKkjH-0003gT-5J for ged-emacs-devel@m.gmane.org; Wed, 27 Mar 2013 03:25:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKkjC-0003g5-8c for emacs-devel@gnu.org; Wed, 27 Mar 2013 03:25:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKkj7-0008Jk-EY for emacs-devel@gnu.org; Wed, 27 Mar 2013 03:24:58 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:44650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKkj7-0008JI-73 for emacs-devel@gnu.org; Wed, 27 Mar 2013 03:24:53 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MKB00L005QHDX00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 27 Mar 2013 09:24:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MKB00L345X2G900@a-mtaout22.012.net.il>; Wed, 27 Mar 2013 09:24:39 +0200 (IST) In-reply-to: <87txnxaj4w.fsf@wanadoo.es> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:158271 Archived-At: > From: =C3=93scar Fuentes > Date: Tue, 26 Mar 2013 23:30:55 +0100 >=20 > =C3=93scar Fuentes writes: >=20 > > Eli Zaretskii writes: > > > >> Then I guess we need to use _W64 explicitly, see revision 112147= . > > > > Now emacs.exe is created. Bootstrap in progress. >=20 > There is one minor issue left: >=20 > gcc -I. -c -gdwarf-2 -g3 -mtune=3Dpentium4 -O2 -isystemc:/apps/= GnuWin32/includ > e -o oo-spd/i386/addpm.o addpm.c > In file included from addpm.c:46:0: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w6 > 4-mingw32/include/shlobj.h:17:2: error: #error _WIN32_IE setting co= nflicts > In file included from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7 > .2/../../../../i686-w64-mingw32/include/shlobj.h:88:0, > from addpm.c:46: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w6 > 4-mingw32/include/commctrl.h:17:2: error: #error _WIN32_IE setting = conflicts > In file included from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7 > .2/../../../../i686-w64-mingw32/include/shlobj.h:91:0, > from addpm.c:46: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w6 > 4-mingw32/include/shlguid.h:16:2: error: #error _WIN32_IE setting c= onflicts > mingw32-make[1]: *** [oo-spd/i386/addpm.o] Error 1 > mingw32-make[1]: Leaving directory `D:/dev/emacs/emacs/nt' >=20 >=20 > As in a previous case, _W64 is checked for definition before _mingw= .h is > (directly or indirectly) #included: >=20 > #ifndef _W64 > #define _WIN32_IE 0x400 > #endif Right. Should be fixed now. Are there any warnings left during MinGW64 compilation? If so, pleas= e post them. Also, please try the --no-opt build, it uses slightly more strict compiler switches, and might trigger warnings the optimized build doesn't. Thanks.