libstdc++ wants clock_gettime without libpthread

Paul Eggert eggert@cs.ucla.edu
Fri Oct 19 04:45:00 GMT 2012


On 10/18/2012 05:22 PM, Roland McGrath wrote:
> 1. Just move clock_* calls into libc.  

This sounds like the best thing to do in the long run.
It's long mystified me why clock_gettime is in a special
library, while gettimeofday is in libc.  Well-maintained
GNU apps these days tend to prefer clock_gettime anyway,
if they can stomach the hassle of linking to -lrt.



More information about the Libc-alpha mailing list