[patch] Let libstdc++ know that VxWorks has_nanosleep

Olivier Hainque hainque@adacore.com
Fri Dec 13 17:54:00 GMT 2019


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 configuration in all
the environments we have been given to work with for the past
decade and activating this improves the library in our experience.

Tested in accordance with the description in
https://gcc.gnu.org/ml/gcc-patches/2019-12/msg00911.html

Best Regards,

Olivier

2019-12-13  Corentin Gay  <gay@adacore.com>

	libstdc++/
	* acinclude.m4 (vxworks*): New entry. Set ac_has_nanosleep=yes.
	* configure: Regenerate.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0018-Configure-libstdc-with-nanosleep-support-for-VxWorks.patch.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20191213/a239a901/attachment.txt>


More information about the Libstdc++ mailing list