bug-gnulib
[Top][All Lists]
Advanced

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

Re: fdopendir closes the file descriptor on MinGW


From: Eli Zaretskii
Subject: Re: fdopendir closes the file descriptor on MinGW
Date: Sun, 22 Mar 2015 19:39:02 +0200

> Date: Sun, 22 Mar 2015 01:51:45 -0700
> From: David Grayson <address@hidden>
> 
> On Wed, Mar 18, 2015 at 9:16 AM, Eli Zaretskii <address@hidden> wrote:
> > Another aside: I think you are making your life much harder by using
> > these kludges.  The recommended way of building GNU software with
> > MinGW is to use the MSYS Bash and tools, including MSYS Make.
> 
> You were right Eli.  Your comment made me try harder to find a good
> development environment for Windows.  I tried the tools available at
> mingw.org and they didn't seem very good or up-to-date.  However, I
> got lucky and stumbled across http://msys2.github.io/ and that seems
> like the right thing to use.  I have started writing up the things I
> learned about MSYS2 here, in case anyone is interested:
> 
> http://www.davidegrayson.com/windev/msys2/
> 
> Now that I know how to compile programs in the MSYS2 environment, and
> these programs can use the POSIX emulation provided by msys-2.0.dll, I
> am much less interested in fixing up Gnulib to work better on MinGW.
> People who want to compile typical GNU utilities like grep should
> probably just use MSYS2 instead of MinGW. Although MSYS and MSYS2 are
> not mentioned in the Gnulib manual, I suspect they similar enough to
> Cygwin that most of the things said about Cygiwn will apply to them.

In general, MSYS is for building MinGW programs, and it has special
features for that.  If you want to use it as your everyday's
environment, I think you should simply install Cygwin (of which MSYS
is a fork).



reply via email to

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