Can I use glibc under windows?

后端 未结 2 1205
春和景丽
春和景丽 2021-01-05 23:24

Is it (or would it) be possible to use glibc under windows (as a replacement of msvcrt)? I know this is a stupid question, and answers like cygwin will pop up, but I am real

2条回答
  •  既然无缘
    2021-01-06 00:10

    A possible workaround could exist: if someone combines http://0xef.wordpress.com/2012/11/17/emulate-linux-system-calls-on-windows/ with http://www.musl-libc.org/ and compiles source code with gcc against musl libc instead of glibc. So, I can't understand why nobody writes a such glibc analog for Windows. :-(

提交回复
热议问题