Can I use glibc under windows?

后端 未结 2 1191
春和景丽
春和景丽 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. :-(

    0 讨论(0)
  • 2021-01-06 00:12

    glibc used to work on different *nixes once , these days glibc is quite Linux specific. It will certainly not work on windows.

    0 讨论(0)
提交回复
热议问题