From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rory Yorke Newsgroups: gmane.emacs.devel Subject: Building Emacs for Win64 on Appveyor Date: Sun, 21 Feb 2016 17:12:21 +0200 Message-ID: <87bn7acd2i.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456069604 27634 80.91.229.3 (21 Feb 2016 15:46:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Feb 2016 15:46:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 21 16:46:35 2016 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 1aXWDQ-0006TQ-Sp for ged-emacs-devel@m.gmane.org; Sun, 21 Feb 2016 16:46:33 +0100 Original-Received: from localhost ([::1]:41973 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXWDP-0004Mx-Vq for ged-emacs-devel@m.gmane.org; Sun, 21 Feb 2016 10:46:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXVgV-0007v5-5m for emacs-devel@gnu.org; Sun, 21 Feb 2016 10:12:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXVgR-0007Rt-Tg for emacs-devel@gnu.org; Sun, 21 Feb 2016 10:12:31 -0500 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:33860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXVgR-0007Rp-L5 for emacs-devel@gnu.org; Sun, 21 Feb 2016 10:12:27 -0500 Original-Received: by mail-wm0-x230.google.com with SMTP id b205so125358474wmb.1 for ; Sun, 21 Feb 2016 07:12:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:user-agent:date:message-id:mime-version :content-type; bh=XrmcIHpPEDDSMalJZw/UfKiJunpfSUufFZHBNv4sJK4=; b=RDQyr7cnxfLNPZ7qTyQUgQ1BTgDbWWhvJnMHv8FB6gOJTDxBhdd2Hz4enNZ3832Tun oPEUT+s9XsCyTin0FTILpWe25IVtyb4GqpAgHwdqRwe2YWlKmx3186yyHXpd9DJbg/rE ku4bqvOZ5v4QorIL+Ax/Dlk8poI3lSHVoB559hLNpcVNerbImzE/PZk6KuVijUb1glB/ ibcZKs94o5ohzEgui2RrO9SbTWQJ0sn8U7a6+VJ2bAW0NLIbEwYe944Tm+XNUUO5axCh RUcRq7cecNHYQx1IJXd3Tzyf0+FdD4NiJ+WzM6Gc5nc/6UpNmRlXMu5tC0lwHJ7gV/6+ WBqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:user-agent:date:message-id :mime-version:content-type; bh=XrmcIHpPEDDSMalJZw/UfKiJunpfSUufFZHBNv4sJK4=; b=Yu0XGj+F3FwW7FMXGa6WIMGmaWHFSXQCw3wyMmRlrwWTgFzkMWMCzzlP7LqFgkEK6W E//9ZLnue/7RvtUzt4zOVNzQAxlWZvdfG2qqSd9ubnZGINALoGkmaxnO7L+5P3Xv+30w 4X4GAAnWlIl5Ol10rGTyBH9QsI61G7Bc2ndv7pQ6umVJx6imtpYIbWRINcoHh00ZP6hI PSzUC0U3OfP/P/gtsXUYuSXxiaBIzUAIc/ta2ra/29IIHCiStitJc1WevAsce0hq6pJK CeypzoO/aYtfK0vgcQlV79TvWZdOueg68EPyXZGfDaPYtDfh+hZtbAeBMxatGZ+Qlf/u cQSA== X-Gm-Message-State: AG10YOSU4uCCc00HM8T6tbOC9qFqsJQPv38ov2alMm/GN0VYLaEyo3sDvOpWJ4PWrUhlWw== X-Received: by 10.194.185.144 with SMTP id fc16mr23102532wjc.123.1456067546854; Sun, 21 Feb 2016 07:12:26 -0800 (PST) Original-Received: from rory-Inspiron-3521 ([105.224.45.203]) by smtp.gmail.com with ESMTPSA id t3sm20459833wjz.11.2016.02.21.07.12.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Feb 2016 07:12:26 -0800 (PST) Original-Received: from rory-Inspiron-3521 (localhost [127.0.0.1]) by rory-Inspiron-3521 (Postfix) with ESMTP id 0DF8B16005C6 for ; Sun, 21 Feb 2016 17:12:22 +0200 (SAST) User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 X-Mailman-Approved-At: Sun, 21 Feb 2016 10:46:18 -0500 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:200380 Archived-At: Hi, See also [1] from January 2016. I've managed to execute a basic MSYS2 Windows 64 Emacs build on Appveyor (a continuous integration service for MS Windows) using the version of MSYS2 Appveyor have pre-installed on their virtual machine images. You can see results at [2]; the appveyor.yml file that sets up the build is at [3], which is part of a branch of the emacs-25 branch of emacs-mirror/emacs on github. Some comments on the build setup: 1) The mingw64_shell.bat specified in emacs nt/INSTALL.W64 opens a new window (I think - see, e.g., [4]). This means compilation output isn't easily captured, so I've instead directly invoked MSYS2's bash at C:\msys64\usr\bin\bash. One must set environment variable MSYSTEM to MINGW64 to build in "MinGW" mode instead of "Cygwin" mode. [5] 2) There's a bug in MSYS or Appveyor that requries an "exec 0