Intel® C++ Compiler 19.0 Developer Guide and Reference Supplement for Intel® System Studio 2019
This topic applies to C++, Linux* and Windows* hosts, Wind River* Linux *targets, and the Wind River* Workbench IDE.
You can use the Intel C++ Compiler (ICC) from the Wind River Workbench to build and optimize your applications for the Wind River Linux target platform.
To use ICC to build your Wind River Linux application projects in Workbench, you must have a Wind River Linux platforms project with associated sysroot and pre-configured build specifications. You can either create one of your own or import the Wind River Linux SDK that already has an exported Wind River Linux platforms project with the associated sysroot and build specifications.
When you install the Intel® System Studio integration layer and create/export the Wind River Linux platforms project, the Intel® C++ Compiler working environment scripts are generated automatically in the same folder where the default gcc compiler environment scripts are located. The ICC environment setting file has the same name as the gcc environment setting file but with an -icc extension.
Refer to the Wind River* Workbench User's Guide for detailed instructions on building a Wind River Linux platforms project.
The workflow for using ICC compiler to build using Workbench is as follows:
This topic will take you through the workflow using The Hello World Demonstration Program example.
To enable ICC, you must set ICC-specific build specs for the application project.
ICC is now enabled to build your application project.
To modify the ICC build and linker flags, follow these steps.
You have now modified the build and linker flags as required for building the application.
To build the sample application, The Hello World Demonstration Project, using ICC, perform the following steps.
Workbench builds the project with the build output appearing in the Build Console. The output from the application appears in the Console view (if the Console is not visible, select Window > Show View > Console).