unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
To: emacs-devel <emacs-devel@gnu.org>
Subject: building emacs-dynamic-modules on Windows Msys64 mingw32
Date: Fri, 24 Oct 2014 17:15:21 -0500	[thread overview]
Message-ID: <85oat19ksm.fsf@stephe-leake.org> (raw)

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



             reply	other threads:[~2014-10-24 22:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 22:15 Stephen Leake [this message]
2014-10-25  6:34 ` building emacs-dynamic-modules on Windows Msys64 mingw32 Eli Zaretskii
2014-10-25 12:25   ` Stephen Leake
2014-10-25 12:52     ` Eli Zaretskii
2014-10-25 13:49       ` Aurélien Aptel
2014-10-25 15:09         ` Stephen Leake
2014-10-27 13:13         ` Aurélien Aptel
2014-10-27 13:32           ` Andreas Schwab
2014-10-27 13:35           ` Aurélien Aptel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85oat19ksm.fsf@stephe-leake.org \
    --to=stephen_leake@stephe-leake.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).