Arrange to inhibit the effects of CPLUSPLUS_CPP_SPEC in gnu-user.h, which #defines _GNU_SOURCE, which is invalid for VxWorks (possibly not providing ::mkstemp, for example).
This has been used in gcc-9 based production compilers for several targets for a year, passed a build & test sequence for powerpc-vxworks7 with gcc-10 and a sanity check build with a recent mainline. Olivier 2020-09-24 Olivier Hainque <hain...@adacore.com> * config/vxworks.h: #undef CPLUSPLUS_CPP_SPEC.
0005-Fallback-to-default-CPP-spec-for-C-on-VxWorks.diff
Description: Binary data