This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: libuv
- From: "Tony Kelman" <tony at kelman dot net>
- To: <cygwin at cygwin dot com>
- Date: Wed, 2 Dec 2015 11:47:42 -0800
- Subject: Re: libuv
- Authentication-results: sourceware.org; auth=none
- References: <CAA65N5xBP-GoC5MfYc7xvBFMLunCT8nP08NcPZmY4mNfgNm6+Q at mail dot gmail dot com>
Lots of project such as node.js or neovim are using libuv
(https://github.com/libuv/libuv) which is incompatible with Cygwin.
I've spent some time trying to build it, but I get issues with
pthread.
The first compilation error you'll get will look like "unknown type name
'pthread_barrier_t'" but that's actually pretty simple to work around
in libuv. The harder part is the lack of support in Cygwin for epoll,
inotify, and other async IO syscalls that libuv uses on unices. It might
be possible to graft together a build configuration for libuv on Cygwin
that uses WinAPI IOCP for the async parts but cygwin's posix layer for
the rest, but it would be quite a bit of work.
-Tony
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple