all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: vincent.belaiche@gmail.com (Vincent Belaïche)
To: Glenn Morris <rgm@gnu.org>,
	npostavs@users.sourceforge.net, Eli Zaretskii <eliz@gnu.org>
Cc: 28601@debbugs.gnu.org, "Vincent Belaïche" <vincent.belaiche@gmail.com>
Subject: bug#28601: 26.0.50; configure: error: Emacs does not support 'x86_64-pc-msys' systems.
Date: Fri, 13 Oct 2017 16:09:21 +0200	[thread overview]
Message-ID: <84d15rxhpq.fsf@AigleRoyal> (raw)
In-Reply-To: <bypoab3jsz.fsf@fencepost.gnu.org>

Dear Glenn, Noam, Eli, & al.

I realize that I have not answered to you Glenn. My latest build of
Emacs is:

	GNU Emacs 26.0.50 (build 1, i686-pc-mingw32) of 2017-07-02

It was done with MSYS1. I see that that platform is ...-mingw32 and not
-msys which explains why it worked.

I switched from MSYS1 to MSYS2 at end of July 2017 because I had too
many problems with MSYS1 not being supported any longer (see for
instance http://savannah.gnu.org/bugs/?51527 about MSYS1 GNUMake issue,
I really, really should have done this switch earlier ...).

Now, I did the:

	pacman -S msys2-launcher

as recommended in the INSTALL.W64 patch from Noam, and then I launched
msys64.exe from the MSWindows exporer. But it still does not work, I get
that the compiler target is still x86_64-pc-msys, which is not accepted
by configure.

The reason for this, is that my configure command does not have any
--host option, FYI here it is:

	./configure --prefix=c:/Nos_Programmes/GNU/Emacs --without-jpeg --without-tiff --without-gif --without-png 'CFLAGS= -Og -g3 -L C:/Programmes/installation/emacs-install/libXpm-3.5.8/src' 'CPPFLAGS= -DFOR_MSW=1 -I C:/Programmes/installation/emacs-install/libXpm-3.5.8/include -I C:/Programmes/installation/emacs-install/libXpm-3.5.8/src -L C:/Programmes/installation/emacs-install/libXpm-3.5.8/src' PKG_CONFIG=/mingw/bin/pkg-config.exe PKG_CONFIG_PATH=/mingw/bin --no-create --no-recursion

so the configure script tries to know the right host by doing gcc -v,
this test is just after this comment in configure:

	# No --host argument was given to 'configure'; therefore $host
	# was set to a default value based on the build platform.  But
	# this default value may be wrong if we are building from a
	# 64-bit MSYS[2] pre-configured to build 32-bit MinGW programs.
	# Therefore, we'll try to get the right host platform from the
	# compiler's target.

When I launch mingw64 and then I do

	{ LC_ALL=C gcc -v 2>&1; } | grep Target

I get this :

   Target: x86_64-pc-msys

Hence the error which I reported in the first place :.

	checking the compiler's target... x86_64-pc-msys
	configure: error: Emacs does not support 'x86_64-pc-msys' systems.

So, maybe the INSTALL.W64 should contain some recommendation to use the
--host option in some way to work around this.

Please note that gcc -v makes this output even though my MSYSTEM envvar
expands to MINGW64.

I think that the objective of the gcc -v is to discriminate between 32
and 64 bits, not between MINGW and MSYS. So, it seems that what we have
is an autoconf bug. Am I wrong ?

   Vincent.

Le 27/09/2017 à 23:37, Glenn Morris a écrit :
> Vincent Belaïche wrote:
>
>> There is no such thing as a mingw64_shell.bat script, but there is a
>> msys2_shell.cmd script, which one can launch with the -mingw64 for
>> MSYSTEM to be set accordingly to MSYSTEM=MINGW64.
>
> Sounds like MinGW has changed how things work and the instructions in
> nt/INSTALL.W64 need updating.
>
>> checking the compiler's target... x86_64-pc-msys
>> configure: error: Emacs does not support 'x86_64-pc-msys' systems.
>
> This is MinGW-specific code added in https://debbugs.gnu.org/19111


---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus






  parent reply	other threads:[~2017-10-13 14:09 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25 20:02 bug#28601: 26.0.50; configure: error: Emacs does not support 'x86_64-pc-msys' systems Vincent Belaïche
2017-09-27 18:36 ` Glenn Morris
2017-09-27 19:07   ` Vincent Belaïche
2017-09-27 19:10     ` Vincent Belaïche
2017-09-27 21:37     ` Glenn Morris
2017-09-28 13:10       ` Andy Moreton
2017-09-29  9:37         ` Eli Zaretskii
2017-10-12 23:06           ` Noam Postavsky
2017-10-13  6:41             ` Eli Zaretskii
2017-10-13 10:14               ` Andy Moreton
2017-10-13 12:22                 ` Eli Zaretskii
2017-10-13 13:52                   ` Andy Moreton
2017-10-13 14:38                     ` Eli Zaretskii
2017-10-13 16:33                       ` Noam Postavsky
2017-10-13 17:24                         ` Eli Zaretskii
2017-10-13 17:51                           ` Noam Postavsky
2017-10-13 18:35                             ` Eli Zaretskii
2017-10-13 18:52                 ` windows build help Phillip Lord
2017-10-13 19:36                   ` Ó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-13 14:09       ` Vincent Belaïche [this message]
2017-10-13 14:16         ` bug#28601: 26.0.50; configure: error: Emacs does not support 'x86_64-pc-msys' systems Noam Postavsky
2017-10-14  1:40           ` Noam Postavsky
2017-10-16  8:59             ` Vincent Belaïche
2017-10-16 14:23               ` Noam Postavsky
2017-10-16 17:11                 ` Vincent Belaïche
2017-10-16 21:42                   ` Noam Postavsky
2017-10-19  8:25                     ` Vincent Belaïche
2017-11-08  2:37                       ` Noam Postavsky
2017-11-08 16:05                         ` Eli Zaretskii
2017-11-08 17:42                           ` Noam Postavsky
2017-11-08 18:13                             ` Eli Zaretskii
2017-11-08 19:23                               ` Noam Postavsky
2017-11-08 19:38                                 ` Eli Zaretskii
2017-11-16 14:40                                   ` Noam Postavsky
2017-11-16 16:11                                     ` Eli Zaretskii
2017-11-21 19:44                                       ` Noam Postavsky
2017-10-16 16:19               ` 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=84d15rxhpq.fsf@AigleRoyal \
    --to=vincent.belaiche@gmail.com \
    --cc=28601@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=npostavs@users.sourceforge.net \
    --cc=rgm@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.