[Zlib-devel] Explicit link to libc

John Bowler jbowler at frontiernet.net
Wed Mar 31 13:41:45 EDT 2010


From: Enrico Weigelt
>> On Windows (which is where this arose, since we're talking about MinGW) 
>> zlib can be linked against one 'libc' and the application against 
>> another (as discussed previously).
>
><naive>
>Why can that happen at all ? (assuming we're taking about dynamic
>linking). Wouldn't this be exactly the major reason, why the 
>toolchain should decide which libc to link against ?
></naive>

Because the link of the DLL and the final link of the app using that DLL are done at different times in physically distinct locations.  Between the two links 'libc' can be upgraded to a new version.

John Bowler <jbowler at acm.org>






More information about the Zlib-devel mailing list