all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
To: emacs-devel@gnu.org
Subject: Re: building Emacs on Msys2/mingw32
Date: Tue, 09 Sep 2014 00:00:29 -0500	[thread overview]
Message-ID: <85lhptxuaa.fsf@stephe-leake.org> (raw)
In-Reply-To: <87ha0h7tuz.fsf@wanadoo.es> ("Óscar Fuentes"'s message of "Mon, 08 Sep 2014 22:14:12 +0200")

Óscar Fuentes <ofv@wanadoo.es> writes:

> Stephen Leake <stephen_leake@stephe-leake.org> writes:
>
> [snip]
>
>> I have suggested changes to the Msys2 people to iron out the Msys2
>> install issues I had.
>>
>>
>> To address the "almost" above:
>>
>> I built from the current pretest tarball,
>> http://alpha.gnu.org/gnu/emacs/pretest/emacs-24.3.93.tar.xz
>>
>> I had to override the guessed build machine on the configure line:
>>
>>     $ ./configure --build=i686-pc-mingw32 --prefix=/mingw32
>
> All this and the remaining removed text is unnecessary if you use
> mingw32_shell.bat instead of msys2_shell.bat. 

Sigh. I was actually running mingw64_shell.bat, not msys2_shell.bat. I
just got the wrong name in the emails. Thanks for catching this.

However, Emacs configure was run under Emacs, not directly in the
mingw64 shell, which means I was trying to emulate mingw64_shell.bat
with elisp code. So I need to figure out what I got wrong in that
emulation. I don't see anything obvious in the shell/environment
variables. 

On the gripping hand, I just tested configure under mingw64_shell.bat,
and got:

configure: error: Emacs does not support `x86_64-pc-mingw64'. 

Which is fine; we need i686.

So I tried mingw32_shell.bat; that works.

Just to be clear, the default prefix is still /usr/local. But /usr
exists in msys2/mingw32; it is at c:/msys64/usr. So /usr/local is a
reasonable place to install emacs. Except that will mix 32 bit and 64
bit targets; /usr/local/x86_64 and /usr/local/i686 would be better. So I
suggest we keep the advice to specify --prefix.

-- 
-- Stephe



  reply	other threads:[~2014-09-09  5:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08 15:54 building Emacs on Msys2/mingw32 Stephen Leake
2014-09-08 20:14 ` Óscar Fuentes
2014-09-09  5:00   ` Stephen Leake [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2014-09-08 21:54 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

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=85lhptxuaa.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 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.