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: windows build help Date: Fri, 13 Oct 2017 19:52:07 +0100 Message-ID: <877evyev8o.fsf_-_@russet.org.uk> References: <84o9pyim1a.fsf@AigleRoyal> <83r2up976t.fsf@gnu.org> <83bmlblfca.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507920859 21133 195.159.176.226 (13 Oct 2017 18:54:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Oct 2017 18:54:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 13 20:54:16 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 1e3560-0004FE-NF for ged-emacs-devel@m.gmane.org; Fri, 13 Oct 2017 20:54:08 +0200 Original-Received: from localhost ([::1]:51534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3568-0002KO-5C for ged-emacs-devel@m.gmane.org; Fri, 13 Oct 2017 14:54:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3550-0002Iz-6K for emacs-devel@gnu.org; Fri, 13 Oct 2017 14:53:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e354w-0000tq-Tt for emacs-devel@gnu.org; Fri, 13 Oct 2017 14:53:06 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:39682) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e354w-0000dZ-Jt for emacs-devel@gnu.org; Fri, 13 Oct 2017 14:53:02 -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:To:From:Sender:Reply-To:Cc: 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=JUuQJSnnu6RKQUCmfHzqc4rmNH5RHtyHRqFI4Svnslk=; b=Ubmxvn0pIGdXy6lNij1xx4/GZ 2cah9jb0RdHdKppCgwo2HEtgmpsdzrRkmM4yC4Xw5RC35aHD8dJszU0VeWUZEqmE3SFNdsr1cPH2M muXgv1ga2mSzkyb05NmE3cB+7y9fjkEqfzcHkF9I/yk+P9+RucbZI2ubID8SfzBRRFSEo17osxPRB aD77qtGxNISVEbVNSaMnNvbLyEPKXpBEm/HOpsYxxTyWPmb75lwOd0TX317o9DJpUyN1Hatpy6MqO WWBLMgXpDyJJbzIdSgDmVRszGBagD+OMoVC7oBUG/DcuYLN7iFL5Dh5wgR9mYi7HwqyYz3xBWeGO3 ckTgvn7kA==; Original-Received: from cpc8-benw10-2-0-cust100.16-2.cable.virginm.net ([92.233.204.101]:50668 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1e354G-000iUJ-3k for emacs-devel@gnu.org; Fri, 13 Oct 2017 18:52:20 +0000 In-Reply-To: (Andy Moreton's message of "Fri, 13 Oct 2017 11:14:37 +0100") 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:219461 Archived-At: I was just reading 28601@debbugs.gnu.org. I have a slightly related problem and wonder if anyone could help. Currently, I am building the windows binaries for Emacs using an out-of-source build with a directory structure like this: git/emacs-26.0.50 build/emacs-26.0.50/x86_64 build/emacs-26.0.50/i686 install/emacs-26.0.50/x86_64 install/emacs-26.0.50/i686 This works nicely, but some of the process is manual. I wanted to script everything up to and including the creation of the final zip files -- currently, the entire build takes about an hour or two. 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. But, this doesn't work because I get this from ./configure: checking for struct ifreq.ifr_addr.sa_len... no checking whether gcc understands -MMD -MF... no checking for long file names... yes checking for X... no checking whether Windows API headers are recent enough... no configure: error: the Windows API headers are too old to support this build. 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. Another solution would be to run both builds in parallel; this fails, unfortunately, because the "out-of-source" build is not entirely out of source -- the .elc files are created in-source. If I launch both a 64 and 32 bit build at the same time, they fight for whole compiles what, until one or both crash. It's not a major issue, but I'd quite like to start providing emacs-27 snapshots every couple of weeks. It's not going to happen, if it takes too much effort. Any thoughts welcome. Phil