Improving --enable-libstdcxx-time
Václav Zeman
vhaisman@gmail.com
Wed May 29 22:11:00 GMT 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20130529/bbaec813/attachment.sig>
More information about the Libstdc++
mailing list