7.91 -Jdir[,dir,...]

Adds the specified directory, or comma-separated list of directories, to the list of system includes.

Downgradable errors, warnings, and remarks are suppressed, even if --diag_error is used.
Angle-bracketed include files are searched for first in the list of system includes, followed by any include list specified with the option -I.


On Windows systems, you must enclose ARMCC5INC in double quotes if you specify this environment variable on the command line, because the default path defined by the variable contains spaces. For example:
armcc -J"%ARMCC5INC%" -c main.c


is a comma-separated list of directories to be added to the list of system includes.
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.80 -Idir[,dir,...]
7.92 --kandr_include
7.136 --preinclude=filename
7.159 --sys_include
2.10 Compiler command-line options and search paths
Related information
Toolchain environment variables
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.