emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latest EMACS on BZR trunk does not compile with MinGW


From: Eli Zaretskii
Subject: Re: Latest EMACS on BZR trunk does not compile with MinGW
Date: Wed, 04 Jun 2014 19:05:29 +0300

> Date: Wed, 4 Jun 2014 17:54:33 +0200
> From: Dani Moncayo <address@hidden>
> Cc: Vincent Belaïche <address@hidden>, 
>       Paul Eggert <address@hidden>, Emacs development discussions 
> <address@hidden>
> 
> > You need to invoke the shell with the --login switch, then it will
> > read /etc/profile.
> 
> It would be nice to have a more reliable way of checking for an MSYS
> environment.

Patches are welcome.

> For example, wouldn't it be possible to check the output of 'uname'?

Maybe, but it's not simple, because there's more than one kind
available out there.  I have 3 on my system, and they report,
respectively:

  MINGW32_NT-5.1 HOME-C4E4A596F7 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys
  MINGW32_NT-5.1 HOME-C4E4A596F7 1.0.12(0.46/3/2) 2012-07-05 14:56 i686 unknown
  windows32 home-c4e4a596f7 2.5.1 2600 i686-pc Intel unknown MinGW

In a nutshell, most of what a ported 'uname' reports is hard-wired
into it when it is built, because there's no such OS as "MinGW".
That's hardly a good way of reliably identifying MinGW.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]