tags:

views:

282

answers:

2

Is it (or would it) be possible to use glibc under windows (as a replacement of msvcrt)? I knwo this is a stupid question, and answers like cygwin will pop up, but I am really asking: is it possible to link to glibc on windows and use all library functions like with msvcrt?

+1  A: 

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

nos
Thanks, it is as i feared :(
rubenvb
A: 

You can use glibc on Windows with Cygwin. It is a somewhat cumbersome solution however, especially if you want to deploy such applications.

Clifford
Still, cygwin does not use or support glibc.
nos
@nos: I stand corrected: http://cygwin.com/faq/faq-nochunks.html#faq.programming.glibc. I was under the impression that glibc was used. Thanks. Cygwin may still meet the OP's requirements however.
Clifford