This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Improving --enable-libstdcxx-time
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 28 May 2013 16:03:24 -0700 (PDT)
- Subject: Re: Improving --enable-libstdcxx-time
- References: <CAH6eHdQzDRwEYFrFqY0Yv8yCX+fKxcFjqz4GKaO6z+qpzmwOAA at mail dot gmail dot com> <CAH6eHdT160a5nfGGHiw3B0pU+toaT0rejAUahjxexBXhQ+N5_A at mail dot gmail dot com> <CAH6eHdQgRD74ichX2E2cv0RY8prY-f4-xNG_rOaz07n1ACH3iQ at mail dot gmail dot com>
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.
Thanks,
Roland