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: Wed, 10 Sep 2014 06:22:52 +0300 Message-ID: <83lhps9n1v.fsf@gnu.org> References: <85mwaayuod.fsf@stephe-leake.org> <83ha0gc49b.fsf@gnu.org> <85ha0gwixf.fsf@stephe-leake.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1410319395 32696 80.91.229.3 (10 Sep 2014 03:23:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2014 03:23:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 10 05:23:08 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 1XRYUt-0008Uo-33 for ged-emacs-devel@m.gmane.org; Wed, 10 Sep 2014 05:23:07 +0200 Original-Received: from localhost ([::1]:53043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRYUs-0002uC-If for ged-emacs-devel@m.gmane.org; Tue, 09 Sep 2014 23:23:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRYUa-0002tE-De for emacs-devel@gnu.org; Tue, 09 Sep 2014 23:22:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRYUV-0003zE-2W for emacs-devel@gnu.org; Tue, 09 Sep 2014 23:22:48 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:47143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRYUU-0003yJ-Ob for emacs-devel@gnu.org; Tue, 09 Sep 2014 23:22:42 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NBO0060019GOT00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Wed, 10 Sep 2014 06:22:41 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBO005CS1DSTK90@a-mtaout20.012.net.il>; Wed, 10 Sep 2014 06:22:41 +0300 (IDT) In-reply-to: <85ha0gwixf.fsf@stephe-leake.org> 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:174137 Archived-At: > From: Stephen Leake > Date: Tue, 09 Sep 2014 17:03:24 -0500 > > Eli Zaretskii writes: > > >> From: Stephen Leake > >> Date: Mon, 08 Sep 2014 10:54:26 -0500 > >> > >> I had to override the guessed build machine on the configure line: > >> > >> $ ./configure --build=i686-pc-mingw32 --prefix=/mingw32 > >> > >> config.guess returns x86_64-pc-msys; configure rejects this. > >> > >> x86_64-pc-msys is the correct host identifier > > > > No, it isn't: it identifies an MSYS program, not a MinGW program. > > Yes, and the _host_ is MSYS bash. > > The _build_ (ie target) is MinGW. Which is why I used --build, not --host. Since MSYS2's main purpose is to build MinGW programs, it should produce a MinGW targeted triplet by default. At least that's what MSYS does.