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 16:48:51 +0300 Message-ID: <83bnqoc3b0.fsf@gnu.org> References: <85mwaayuod.fsf@stephe-leake.org> <87ha0h7tuz.fsf@wanadoo.es> <85lhptxuaa.fsf@stephe-leake.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1410271410 30631 80.91.229.3 (9 Sep 2014 14:03:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2014 14:03:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 09 16:03:23 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 1XRM0x-00014Y-Kx for ged-emacs-devel@m.gmane.org; Tue, 09 Sep 2014 16:03:23 +0200 Original-Received: from localhost ([::1]:49904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRM0x-0003YJ-3w for ged-emacs-devel@m.gmane.org; Tue, 09 Sep 2014 10:03:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRLx3-0008Gq-Dr for emacs-devel@gnu.org; Tue, 09 Sep 2014 09:59:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRLml-0008BJ-VI for emacs-devel@gnu.org; Tue, 09 Sep 2014 09:48:50 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:48940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRLml-0008B8-MN for emacs-devel@gnu.org; Tue, 09 Sep 2014 09:48:43 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NBM00M00ZMWQZ00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Tue, 09 Sep 2014 16:48:41 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBM00MBDZP56AC0@a-mtaout20.012.net.il>; Tue, 09 Sep 2014 16:48:41 +0300 (IDT) In-reply-to: <85lhptxuaa.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:174111 Archived-At: > From: Stephen Leake > Date: Tue, 09 Sep 2014 00:00:29 -0500 > > On the gripping hand, I just tested configure under mingw64_shell.bat, > and got: > > configure: error: Emacs does not support `x86_64-pc-mingw64'. This is already fixed on the trunk. The release branch insists on "-mingw32" suffix (of course, you can hack it). > Just to be clear, the default prefix is still /usr/local. But /usr > exists in msys2/mingw32; it is at c:/msys64/usr. So /usr/local is a > reasonable place to install emacs. Except that will mix 32 bit and 64 > bit targets; /usr/local/x86_64 and /usr/local/i686 would be better. So I > suggest we keep the advice to specify --prefix. The advice to use --prefix is there for a reason. My advice is to stay away of the MSYS tree, so that your absolute file names always include an explicit drive letter, as in /x/foo/bar. Otherwise, you risk passing just /foo/bar to MinGW programs that won't grok it.