Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ 11 in vxworks

Tags:

c++

vxworks

I am new to VxWorks and I am developing a software using C++ in VxWorks platform. I want to know whether VxWorks compiler supports C++ 11 standard. The reason I am asking this question is because there is no shrink_to_fit() std::vector function available(this function is introduced in c++ 11 standard). So I want to know is there any way to compile the code with C++ 11 standard in VxWorks.

like image 880
Harry Avatar asked Mar 30 '16 13:03

Harry


People also ask

Does VxWorks support c++?

1 Introduction. The Boost project provides a comprehensive set of peer-reviewed, portable C++ source libraries that work well with the C++ Standard Library. VxWorks is a Real Time Operating System built by Wind River.

What compiler does VxWorks use?

VxWorks core development tools are compilers such as Diab, GNU, and Intel C++ Compiler (ICC)) and its build and configuration tools. The system also includes productivity tools such as its Workbench development suite and Intel tools and development support tools for asset tracking and host support.


1 Answers

There are commercial versions of g++ available for vxWorks, which are supporting c++11. As far as I know these ports of g++ are available for vxWorks 7.0 or higher.

like image 137
KimKulling Avatar answered Sep 17 '22 21:09

KimKulling