2012/5/14 xunxun <[email protected]>: > δΊ 2012/5/14 15:15, Ruben Van Boxem ει: >> I'll add that in my next build. The question becomes then why is this >> not detected by configure automatically? > Maybe Kai knows. > > This happened in gcc4.6.x first, so I use --enable-libstdcxx-time=yes > from then. > > -- > Best Regards, > xunxun
Well, AFAIU is libstdc++ here checking for presence of nanosleep. Actual we provide '_sleep' (and usleep), but no nanosleep routine as it is POSIX. If you are using winpthread then this routine is provide by it, but of course it is just present if pthread is linked. So --enable-libstdcxx-time=yes seems to me as valid and the best way to solve this issue. Kai ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
