unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Noam Postavsky <npostavs@users.sourceforge.net>
Cc: fabrice.popineau@gmail.com, f.j.wright@live.co.uk,
	vincent.belaiche@gmail.com, 28601@debbugs.gnu.org,
	stephen_leake@stephe-leake.org, phillip.lord@russet.org.uk
Subject: bug#28601: 26.0.50; configure: error: Emacs does not support 'x86_64-pc-msys' systems.
Date: Wed, 08 Nov 2017 20:13:24 +0200	[thread overview]
Message-ID: <83y3ngr64b.fsf@gnu.org> (raw)
In-Reply-To: <CAM-tV--GAHv3DfGG=qjAD4B+YiqX7VAPQd34eCsp36bwbYspQg@mail.gmail.com> (message from Noam Postavsky on Wed, 8 Nov 2017 12:42:29 -0500)

> From: Noam Postavsky <npostavs@users.sourceforge.net>
> Date: Wed, 8 Nov 2017 12:42:29 -0500
> Cc: Vincent Belaïche <vincent.belaiche@gmail.com>, 
> 	Glenn Morris <rgm@gnu.org>, 28601@debbugs.gnu.org, Francis Wright <f.j.wright@live.co.uk>, 
> 	Stephen Leake <stephen_leake@stephe-leake.org>, Phillip Lord <phillip.lord@russet.org.uk>, 
> 	Fabrice Popineau <fabrice.popineau@gmail.com>
> 
> > (Btw, on my system, "type gcc" from Bash says "/d/usr/bin/gcc", and
> > there's nothing wrong with my installation.  So this advice could be
> > okay for the newbies, but if the value is different, it doesn't yet
> > mean the installation is wrong.  I'm just saying.)
> 
> But you have MSYS (1), right?

Yes, but it doesn't matter.  MSYS2 didn't (and couldn't) change the
basic facts that I'll try explaining below.

> The issue here, is that with MSYS2 there are 3 possible gcc's that
> can be installed. The mingw64 one should be active. If the user
> launched C:\msys64\msys2.exe instead of C:\msys64\mingw64.exe, they
> would get "/usr/bin/gcc", which is not the right gcc (it would
> result in the "Emacs does not support 'x86_64-pc-msys' systems"
> error mentioned in the bug title).

All of this is only true if your installation is the "canonical" one,
in which case MinGW and MSYS are installed under the same common
parent, but in sibling subdirectories.  But that's not the only valid
installation.  The only important thing is that the MinGW programs,
including GCC, are on the Windows PATH, because then they can be
invoked both from MSYS Bash and from anywhere else on the system
(including from Emacs which was run via anything except Bash).  There
are no other requirements for a healthy MinGW installation.  If
someone installed MSYS gcc (why did they? it's not needed, and they
are shooting themselves in the foot), they just need to make sure it's
mentioned on PATH after the MinGW one, or even doesn't appear at all
on the Windows PATH, only on the MSYS PATH set by .bashrc and friends.

IOW, what we are advertising here is only one particular setup, which
just happens to be what the MSYS2 crowd decided for you.  It is
incorrect to say that any other setup is wrong.

> >> +** Check your MSYS2 fstab file
> >
> > I don't understand why this part is necessary.  AFAIR, fstab is set up
> > by the MSYS installer, and if it doesn't have the correct entries,
> > nothing will really work.  So I think this problem can only happen if
> > someone manually tinkers with their fstab, and if so, they should know
> > what they are doing.  Asking people to look there runs the risk of
> > them deciding that the value is somehow incorrect, and editing it to
> > completely ruin their MSYS installation.  FWIW, I have _never_ needed
> > to look at that file, in all the years I have an actively maintained
> > and used MSYS installation.
> >
> > So I think this is best skipped.
> 
> Maybe we should title the section "If your name is Vincent, Check your
> MSYS2 fstab file" ;)

Fine with me.

Thanks.





  reply	other threads:[~2017-11-08 18:13 UTC|newest]

Thread overview: 35+ 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 14:09       ` Vincent Belaïche
2017-10-13 14:16         ` 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 [this message]
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

  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=83y3ngr64b.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=28601@debbugs.gnu.org \
    --cc=f.j.wright@live.co.uk \
    --cc=fabrice.popineau@gmail.com \
    --cc=npostavs@users.sourceforge.net \
    --cc=phillip.lord@russet.org.uk \
    --cc=stephen_leake@stephe-leake.org \
    --cc=vincent.belaiche@gmail.com \
    /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).