Hi Kim,

MingW uses MSVCRT as the C library, with some required additional
functions.
It indeed uses libstdc++ as its C++ library.
The two libraries are separate creatures with different licenses.

Yaron


2013/10/8 Kim Gräsman <[email protected]>

> Hi Yaron,
>
> On Tue, Oct 8, 2013 at 10:04 PM, Yaron Keren <[email protected]>
> wrote:
> >
> > MingW does use MSVCRT unlike Cygwin that provides independent library,
> so it
> > provides rand_s() as well. For MingW-builds you can find rand_s()
> prototype
> > in:
> >
> > c:\Program Files
> >
> (x86)\mingw-builds\x32-4.8.1-win32-dwarf-rev5\mingw32\i686-w64-mingw32\include\stdlib.h
> >
> > The import libraries libmsvcr*.a are in the lib directory.
>
> Huh, I was under the impression that MinGW used a variant of
> libstdc++, sorry for the noise!
>
> - Kim
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to