2.9 Factors influencing how the compiler searches for header files

Several factors influence how the compiler searches for #include header files and source files.

  • The value of the environment variable ARMCC5INC.

  • The value of the environment variable ARMINC.

  • The -I and -J compiler options.

  • The --kandr_include and --sys_include compiler options.

  • Whether the filename is an absolute filename or a relative filename.

  • Whether the filename is between angle brackets or double quotes.

Related concepts
2.12 The ARMCC5INC environment variable
2.11 Compiler search rules and the current place
Related reference
2.10 Compiler command-line options and search paths
8.98 -Idir[,dir,...]
8.110 -Jdir[,dir,...]
8.111 --kandr_include
8.176 --sys_include
Related information
Toolchain environment variables
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.