7.80 -Idir[,dir,...]

Adds the specified directory, or comma-separated list of directories, to the list of places that are searched to find included files.

If you specify more than one directory, the directories are searched in the same order as the -I options specifying them.


is a comma-separated list of directories to be searched for included files.
At least one directory must be specified.
When specifying multiple directories, do not include spaces between commas and directory names in the list.
Related concepts
2.9 Factors influencing how the compiler searches for header files
Related reference
7.91 -Jdir[,dir,...]
7.92 --kandr_include
7.136 --preinclude=filename
7.159 --sys_include
2.10 Compiler command-line options and search paths
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.