2.1.68. -Jdir[,dir,...]

This option adds the specified directory, or comma-separated list of directories, to the list of system includes.

The RVCT31INC environment variable is set to the default system include path unless you use -J to override it. 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 RVCT31INC 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"%RVCT31INC%" -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.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A