
Given the settings above, your c_cpp_configuration.json file will look something like the following. If the extension can't find the path for the target system libraries, you can enter the include path manually: The C/C++ extension populates the include path by querying the compiler specified by Compiler path. You only need to modify the Include path if your program includes header files that aren't in your workspace, or that are not in the standard library path. Set to the architecture-specific variant of the compiler you are using.

Set to the full path of the compiler you are using to build your project.

These configuration settings are stored in your project's c_cpp_properties.json file. For the extension to provide correct IntelliSense suggestions, and to reflect the right sizes of data types, you need to configure the C++ extension to emulate the target architecture. The C/C++ extension isn't a compiler-it provides rich language features such as syntax highlighting and IntelliSense. For example, when your host machine is 圆4 but you are compiling for ARM. The article is about configuring the C/C++ extension to provide proper IntelliSense (code completions) in Visual Studio Code when you compile for a different architecture than your development host machine.


Configure IntelliSense for cross-compiling.
