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
7.73 -Idir[,dir,...]
7.84 -Jdir[,dir,...]
7.85 --kandr_include
7.148 --sys_include
Related information
Toolchain environment variables
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.