From: phillip.lord@russet.org.uk (Phillip Lord)
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: windows build help
Date: Fri, 13 Oct 2017 19:52:07 +0100 [thread overview]
Message-ID: <877evyev8o.fsf_-_@russet.org.uk> (raw)
In-Reply-To: <vz14lr373si.fsf@gmail.com> (Andy Moreton's message of "Fri, 13 Oct 2017 11:14:37 +0100")
I was just reading 28601@debbugs.gnu.org. I have a slightly related
problem and wonder if anyone could help.
Currently, I am building the windows binaries for Emacs using an
out-of-source build with a directory structure like this:
git/emacs-26.0.50
build/emacs-26.0.50/x86_64
build/emacs-26.0.50/i686
install/emacs-26.0.50/x86_64
install/emacs-26.0.50/i686
This works nicely, but some of the process is manual. I wanted to script
everything up to and including the creation of the final zip files --
currently, the entire build takes about an hour or two.
But I do the x86_64 building using the MINGW64 shell
(i.e. C:\msys64\mingw64.exe) and the i686 using MINGW32
(i.e. C:\msys64\mingw64.exe). You might have thought I could just used
one -- the build for the i686 would just be cross compiling. But, this
doesn't work because I get this from ./configure:
checking for struct ifreq.ifr_addr.sa_len... no
checking whether gcc understands -MMD -MF... no
checking for long file names... yes
checking for X... no
checking whether Windows API headers are recent enough... no
configure: error: the Windows API headers are too old to support this build.
So, I cannot do both builds with a single command -- I have to come back
in the middle. I don't really understand the difference between the two
shells nor why I get this error.
Another solution would be to run both builds in parallel; this fails,
unfortunately, because the "out-of-source" build is not entirely out of
source -- the .elc files are created in-source. If I launch both a 64
and 32 bit build at the same time, they fight for whole compiles what,
until one or both crash.
It's not a major issue, but I'd quite like to start providing emacs-27
snapshots every couple of weeks. It's not going to happen, if it takes
too much effort.
Any thoughts welcome.
Phil
next parent reply other threads:[~2017-10-13 18:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <84o9pyim1a.fsf@AigleRoyal>
[not found] ` <v9tvzoyonq.fsf@fencepost.gnu.org>
[not found] ` <c26025cd-ccaa-70e1-94d4-003b7632bd19@gmail.com>
[not found] ` <bypoab3jsz.fsf@fencepost.gnu.org>
[not found] ` <vz1shf7dl4u.fsf@gmail.com>
[not found] ` <83r2up976t.fsf@gnu.org>
[not found] ` <CAM-tV-8BAheHD+gDjJ1N+jPYqg8a4MLKK7NEQH=KBWkwjGujuQ@mail.gmail.com>
[not found] ` <83bmlblfca.fsf@gnu.org>
[not found] ` <vz14lr373si.fsf@gmail.com>
2017-10-13 18:52 ` Phillip Lord [this message]
2017-10-13 19:36 ` windows build help Óscar Fuentes
2017-10-13 19:38 ` Stephen Leake
2017-10-14 11:07 ` Phillip Lord
2017-10-14 15:15 ` Stephen Leake
2017-10-14 15:26 ` Phillip Lord
2017-10-14 15:31 ` Eli Zaretskii
2017-10-14 23:04 ` Paul Eggert
2017-10-16 1:53 ` Richard Stallman
2017-10-16 6:49 ` Paul Eggert
2017-10-16 13:54 ` Stefan Monnier
2017-10-13 19:47 ` Noam Postavsky
2017-10-14 11:09 ` Phillip Lord
2017-10-14 8:16 Angelo Graziosi
2017-10-14 11:16 ` Phillip Lord
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=877evyev8o.fsf_-_@russet.org.uk \
--to=phillip.lord@russet.org.uk \
--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).