This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Improving --enable-libstdcxx-time


On 05/29/2013 10:20 AM, Jonathan Wakely wrote:
> On 29 May 2013 00:03, Roland McGrath wrote:
>> Version checks are pretty much always wrong.  It should use an empirical
>> check on whether you can link a program calling clock_gettime without
>> passing -lrt.
> 
> In principle I agree, but IIUC we can't do link tests for libstdc++
> when building a cross-compiler, and the rule is that the same
> configure flags should produce the same configuration for
> cross-compilers as for native, so we can't do link tests by default
> ever ... so we can't make use of your clock_gettime changes unless
> users explicitly request them, which they don't do (because they
> probably don't know about it.)
Unless libstdc++ is somehow special, you should be able to do link
tests. The only thing you really cannot do should be run tests.

-- 
VZ


Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]