emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building Emacs on Msys2/mingw32


From: Fabrice Popineau
Subject: Re: building Emacs on Msys2/mingw32
Date: Tue, 9 Sep 2014 19:50:00 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.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 via email to

[Prev in Thread] Current Thread [Next in Thread]