Re: [patch] Let libstdc++ know that VxWorks has_nanosleep

2020-01-07 Thread Olivier Hainque
> On 6 Jan 2020, at 16:21, Jonathan Wakely wrote: >> >> Overall, this really seems like a good setting for >> --enable-libstdcxx-time auto. > > OK, that makes sense. Thanks! Sure, thank you for your feedback :)

Re: [patch] Let libstdc++ know that VxWorks has_nanosleep

2020-01-06 Thread Jonathan Wakely
On 22/12/19 23:20 +0100, Olivier Hainque wrote: Hi Jonathan, On 19 Dec 2019, at 12:13, Jonathan Wakely wrote: Is there a way to detect that more reliably? Should we replicate the test used later in the file, to detect whether the timers are really enabled for VxWorks? AC_MSG_CHECKING([

Re: [patch] Let libstdc++ know that VxWorks has_nanosleep

2019-12-22 Thread Olivier Hainque
Hi Jonathan, > On 19 Dec 2019, at 12:13, Jonathan Wakely wrote: > > > Is there a way to detect that more reliably? Should we replicate the > test used later in the file, to detect whether the timers are really > enabled for VxWorks? > > AC_MSG_CHECKING([for nanosleep]) ... > You're the po

Re: [patch] Let libstdc++ know that VxWorks has_nanosleep

2019-12-19 Thread Jonathan Wakely
On 13/12/19 18:54 +0100, Olivier Hainque wrote: This change adjusts the libstdc++ configuration for VxWorks to set ac_has_nanosleep=yes, which enables the use of nanosleep from the library. While this technically depends on the kernel configuration (INCLUDE_POSIX_TIMERS) this is the normal conf