The following are prerequisites:
Before you invoke the compiler component of the Intel® System Studio, you must set certain environment variables that define the location of compiler-related components.
The Intel® C++ Compiler includes the compilervars scripts that you can run to set environment variables.
Intel® C++ Compiler is compatible with the GCC compiler in the Android* NDK and can be used to develop applications for x86-based devices running on Android target systems. The Android NDK can be downloaded from http://developer.android.com/sdk/ndk/index.html.
With the Intel compiler and Android NDK you can develop Android applications on Windows* or Linux* hosts.
This topic applies to C/C++ on Linux* and Windows* host systems.
You can build applications for Intel architecture-based Android* devices in two ways:
Using the Intel® C++ Compiler toolchain as a standalone compiler
Enabling the Intel toolchain within the Android NDK build system
Intel® C++ Compiler for Intel® System Studio is compatible with the GCC compiler and can be used to develop applications for x86-based devices that run on various Linux* target systems.
You can develop Linux-based target applications on Windows* or Linux* hosts.
Intel® System Studio provides an integration layer and several recipes to integrate with the Yocto* Project development environment. For more information, see https://software.intel.com/en-us/articles/using-intel-system-studio-with-the-yocto-project.
Before compiling applications for running on target Wind River* Linux* OS, you must install Wind River* Linux* 6.0.x-8.0 and build sysroot for the target platform.
To find out more about Wind River* Linux* and how to install the required Wind River* Linux* tool-chain, go to http://www.windriver.com/products/linux/.
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.
If you are dynamically linking your application built with the Intel® C++ Compiler, you must make the compiler runtime libraries available on the target platform. You can do this by following the steps below: