From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: building emacs-dynamic-modules on Windows Msys64 mingw32 Date: Fri, 24 Oct 2014 17:15:21 -0500 Message-ID: <85oat19ksm.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414188959 30890 80.91.229.3 (24 Oct 2014 22:15:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2014 22:15:59 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 25 00:15:54 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 1Xhn9F-0006zK-Gz for ged-emacs-devel@m.gmane.org; Sat, 25 Oct 2014 00:15:53 +0200 Original-Received: from localhost ([::1]:51077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xhn9E-0002X8-Nn for ged-emacs-devel@m.gmane.org; Fri, 24 Oct 2014 18:15:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xhn8u-0002WB-FQ for emacs-devel@gnu.org; Fri, 24 Oct 2014 18:15:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xhn8o-0004ay-Tz for emacs-devel@gnu.org; Fri, 24 Oct 2014 18:15:32 -0400 Original-Received: from dnvrco-outbound-snat.email.rr.com ([107.14.73.227]:64380 helo=dnvrco-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xhn8o-0004aW-Nq for emacs-devel@gnu.org; Fri, 24 Oct 2014 18:15:26 -0400 Original-Received: from [70.94.38.149] ([70.94.38.149:54546] helo=TAKVER) by dnvrco-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id AE/24-27958-B7FCA445; Fri, 24 Oct 2014 22:15:23 +0000 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt) X-RR-Connecting-IP: 107.14.64.142:25 X-Authority-Analysis: v=2.1 cv=L8aTQoj8 c=1 sm=1 tr=0 a=AppmJ/7ZOOFWL/q6u6u93g==:117 a=AppmJ/7ZOOFWL/q6u6u93g==:17 a=ayC55rCoAAAA:8 a=fNEgcOh0sVsA:10 a=9i_RQKNPAAAA:8 a=NEAV23lmAAAA:8 a=YTHmDdrmUbw0ePM43p4A:9 X-Cloudmark-Score: 0 X-detected-operating-system: by eggs.gnu.org: BaiduSpider X-Received-From: 107.14.73.227 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:175798 Archived-At: I'm trying to build emacs-dynamic-modules on Windows Msys64 for mingw32. I've checkout out the git repository with: git clone https://github.com/aaptel/emacs-dynamic-module.git In an msys shell, I did: cd /c/Projects/emacs/emacs-dynamic-module ./autogen.sh ./configure --prefix=/mingw32 make This failed with "missing ctags.c"; I edited lib-src/Makefile to delete ctags.exe Then make got further, but dies with: make[2]: Leaving directory '/c/Projects/emacs/emacs-dynamic-module/lisp' if test "no" = "yes"; then \ rm -f bootstrap-emacs.exe; \ ln temacs.exe bootstrap-emacs.exe; \ else \ ./temacs --batch --load loadup bootstrap || exit 1; \ test "X" = X || -zex emacs.exe; \ mv -f emacs.exe bootstrap-emacs.exe; \ fi /bin/sh: line 4: ./temacs: cannot execute binary file: Exec format error Makefile:798: recipe for target 'bootstrap-emacs.exe' failed make[1]: *** [bootstrap-emacs.exe] Error 1 make[1]: Leaving directory '/c/Projects/emacs/emacs-dynamic-module/src' Makefile:376: recipe for target 'src' failed make: *** [src] Error 2 I don't have this problem when building emacs-24.3.94 from the tarball. What branch is emacs-dynamic-module derived from? Do we need to merge from trunk or emacs-24 to fix building with Msys64? -- -- Stephe