Re: [PATCH] Support MSYS2

Greg Jung <[email protected]>
Newsgroups gmane.comp.gnu.mingw.user,gmane.comp.gnu.libtool.general
Message-ID <CAAAui1Gp1s7-RYPg3h2apOZkCkuOEwaqZt3jN1ZQx23pL=GkVA@mail.gmail.com>
In all three of my msys2 XXX_shell.bat shells, uname -o answers Msys.
in msys-1, uname -o answers Msys

The query that gets you to mingw32 is "uname -s"

In MSYS2:
greg@Homerw7 MSYS ~
$ uname -s
MSYS_NT-6.1

greg@Homerw7 MINGW32 ~
$ uname -s
MINGW32_NT-6.1

greg@Homerw7 MINGW64 ~
$ uname -s
MINGW64_NT-6.1

In Mingw/MSYS from mingw.org:
greg@Homerw7 ~
$ uname -s
MINGW32_NT-6.1

In Cygwin it looks like so:

greg@Homerw7 ~
$ uname -o
Cygwin

greg@Homerw7 ~
$ uname -s
CYGWIN_NT-6.1


On Fri, Jul 24, 2015 at 2:03 PM, Peter Rosin <[email protected]> wrote:

> [ mingw-users: this is in reply to a suggested patch (1) ]
>
> On 2015-07-23 19:30, [email protected] wrote:
> > Hello,
> > when using the MSYS2 shell (http://msys2.github.io/), uname -o returns
> Msys instead of mingw32. The latest versions of config.guess and config.sub
> already support that, but Libtool doesn't. Here's a patch to add that
> support.
>
> This does not feel correct as a quick glance. Are you sure you
> understand what you are doing?
>
> In normal operation, I would have assumed that msys2 returns
> mingw-something and that any msys mode was a special case for
> building binaries with the cygwin/posix emulation layer, but
> you are adding msys to a bunch of places which are mingw-only.
> So, it all feels fishy.
>
> Also, how does this affect msys1?
>
> Cheers,
> Peter
>
> (1) http://lists.gnu.org/archive/html/libtool/2015-07/msg00003.html
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> MinGW-users mailing list
> [email protected]
>
> This list observes the Etiquette found at
> http://www.mingw.org/Mailing_Lists.
> We ask that you be polite and do the same.  Disregard for the list
> etiquette may cause your account to be moderated.
>
> _______________________________________________
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users
> Also: mailto:mingw-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org?subject=unsubscribe
>

------------------------------------------------------------------------------

_______________________________________________
MinGW-users mailing list
[email protected]

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org?subject=unsubscribe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.