From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: windows build help Date: Sat, 14 Oct 2017 12:09:07 +0100 Message-ID: <87y3oe7zqk.fsf@russet.org.uk> References: <84o9pyim1a.fsf@AigleRoyal> <83r2up976t.fsf@gnu.org> <83bmlblfca.fsf@gnu.org> <877evyev8o.fsf_-_@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507979850 10497 195.159.176.226 (14 Oct 2017 11:17:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2017 11:17:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) Cc: Emacs-Devel devel To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 14 13:17:26 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3KRS-0000za-KX for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2017 13:17:19 +0200 Original-Received: from localhost ([::1]:53601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3KRa-0001Nn-2o for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2017 07:17:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3KQP-0001Mr-Dt for emacs-devel@gnu.org; Sat, 14 Oct 2017 07:16:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3KQM-00046i-7U for emacs-devel@gnu.org; Sat, 14 Oct 2017 07:16:13 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:33139) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e3KQL-00045b-Tb for emacs-devel@gnu.org; Sat, 14 Oct 2017 07:16:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:References:Message-ID :Date:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=C6vnvcwEpAc3pO8u8HXwNUIlB9x6X/pqaOIperJbgmo=; b=r6ZOcWPYJMtPdF89mKgR9+OwX KCw4PZbL/OgwitrmdGGUqXruvNoJooAAaENEK9Ie2WknuD9p+hZLKQZWqmWT2GlObF7S2n0J4ANem ANp3jKEMcUgg335yxaJvCDJQDaa83RgVNY8B8xdge5lhG8a0ZhqOzx0quzIUR1//VF9vO/5PxRxsw 2QOkWDJUdSlqvxahn+zV7AjPKhcoAFOzreYk7K5MgWfwbN2XxlBec8uchLf1+TW9w5hZOgNqtNiY6 6AhDPoxs4xJtFT8eWDhPgDljErvzrYchwe3KdNnF8J7WyyxJxEI0RXDDdNPN5V1ur6/7FFs7B7TC4 r4QsxceqA==; Original-Received: from cpc8-benw10-2-0-cust100.16-2.cable.virginm.net ([92.233.204.101]:57632 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1e3KQK-0022JP-EJ; Sat, 14 Oct 2017 11:16:08 +0000 In-Reply-To: (Noam Postavsky's message of "Fri, 13 Oct 2017 15:47:35 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 78.129.138.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:219507 Archived-At: Noam Postavsky writes: > On Fri, Oct 13, 2017 at 2:52 PM, Phillip Lord > wrote: > >> But I do the x86_64 building using the MINGW64 shell >> (i.e. C:\msys64\mingw64.exe) and the i686 using MINGW32 >> (i.e. C:\msys64\mingw64.exe). You might have thought I could just used >> one -- the build for the i686 would just be cross compiling. > > AFAIK, emacs doesn't support cross compiling. I assumed that only GCC needed to do this (assuming that the emacs produced can run on the current system). > >> So, I cannot do both builds with a single command -- I have to come back >> in the middle. I don't really understand the difference between the two >> shells nor why I get this error. > > I think the only difference is PATH has /mingw32/bin or /mingw64/bin, > and MSYSTEM is MINGW32 or MINGW64 > > At least for me, after doing > > PATH=/mingw32/bin:$PATH > MSYSTEM=MINGW32 > > in a mingw64 shell, doing ./configure succeeds and I end up with a > 32bit emacs. Yep, that's all you need. Thank you very much! Phil