开发者

Is there any POSIX compatibility layer for Windows x64?

I'm trying to 开发者_开发百科compile Redis for Windows x64 with no luck.

I tried different things

  • Cygwin works perfectly but GCC produces only 32 bit executables

  • Compling with Mingw-w64 will not work without a lot of code changes (My understanding is that MinGw does not provide POSIX compatibility for Windows)

  • Microsoft Services for Unix has an outdated GCC version and requires the Unix subsystem to be installed as a dependency

Any idea?


Ruling out MSU, there is no POSIX compatibility layer for Win64. Your best bet is probably on working with mingw-w64 and provide yourself fallback Win32/Win64 code for the POSIX calls you need. That's painful, of course.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜