Can I tell which version of newlib I have?
Tue Apr 24 22:39:00 GMT 2007
Ray Hurst wrote:
> It was my understanding that if I write a C program and compiled it with
> gcc that gcc used newlib for all of the stdlib functions including
> malloc, realloc and free.
Gcc doesn't have any choice in the matter. All it knows is that there's
a C library on the system, that's it. It doesn't know nor care where or
how the C library is implemented.
In the case of Cygwin, the C library is provided by Cygwin, in the form
of cygwin1.dll. Cygwin relies on newlib to implement some things, but
malloc is not one of them.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin