all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fabrice Popineau <fabrice.popineau@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: building Emacs on Msys2/mingw32
Date: Tue, 9 Sep 2014 19:50:00 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140909T214254-58@post.gmane.org> (raw)
In-Reply-To: 83oauoace5.fsf@gnu.org

Eli Zaretskii <eliz <at> gnu.org> writes:

> 
> > Date: Tue, 09 Sep 2014 21:11:38 +0300
> > From: Eli Zaretskii <eliz <at> gnu.org>
> > Cc: emacs-devel <at> gnu.org
> > 
> > > Date: Tue, 09 Sep 2014 19:53:18 +0200
> > > From: Angelo Graziosi <angelo.graziosi <at> alice.it>
> > > CC: emacs-devel <at> gnu.org
> > > 
> > > 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: riga 4: ./temacs: cannot execute binary file: Exec format 
error
> > > Makefile:828: set di istruzioni per l'obiettivo "bootstrap-
emacs.exe" non riuscito
> 
> It's possible that x86_64-pc-mingw32 somehow triggers the use of the
> wrong linker script.  Add the -v switch to the link command, and see
> if you spot any significant differences between the two builds when
> GCC links temacs.exe.
> 
> 

FWIWn I build Emacs trunk with a standard, not hacked, MSYS2/MingW64.
I update trunk regularly, but I update MSYS2/MingW64 too (with 'pacman -
Syu').
So nowadays, to build trunk, this is what I do :

$ build_alias=x86_64-w64-mingw32 make -j 8 bootstrap

(bootstrap optional).

I'm not sure that the MingW64 changes needed to the configure script can 
be found in another place than emacs trunk (aka : 24.4).

Fabrice





  reply	other threads:[~2014-09-09 19:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08 21:54 building Emacs on Msys2/mingw32 Angelo Graziosi
2014-09-08 22:53 ` Óscar Fuentes
2014-09-09 13:42 ` Eli Zaretskii
2014-09-09 17:53   ` Angelo Graziosi
2014-09-09 18:11     ` Eli Zaretskii
2014-09-09 18:15       ` Eli Zaretskii
2014-09-09 19:50         ` Fabrice Popineau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-09-08 15:54 Stephen Leake
2014-09-08 20:14 ` Óscar Fuentes
2014-09-09  5:00   ` Stephen Leake
2014-09-09 10:39     ` Chris Zheng
2014-09-09 13:58       ` Stephen Leake
2014-09-09 13:48     ` Eli Zaretskii
2014-09-09 13:28 ` Eli Zaretskii
2014-09-09 22:03   ` Stephen Leake
2014-09-10  3:22     ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=loom.20140909T214254-58@post.gmane.org \
    --to=fabrice.popineau@gmail.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.