Hello,

Defining at least one of the two is needed on VxWorks 7 and helpful
in some cases on VxWorks 6.

We have been using this in house for all our ports for a while, and I verified
that it allows a toolchain + libgcc build for x86_64-vxworks7 to finish with
mainline, in association with further patches to come for the general support
of vxworks 7 and the x86_64 configuration in particular.

Committing to mainline.

2017-06-26  Jerome Lambourg  <lambo...@adacore.com>

        * config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define
        _VX_TOOL_FAMILY and _VX_TOOL to gnu. 

With Kind Regards,

Olivier

Attachment: 0001-improve-automatic-defines-on-VxWorks.patch
Description: Binary data

Reply via email to