2.1.95. -Jdir[,dir,...]

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

Warnings and remarks are suppressed, even if --diag_error is used.

The RVCT40INC 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.

Note

On Windows systems, you must enclose RVCT40INC 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"%RVCT40INC%" -c main.c

Syntax

-Jdir[,dir,...]

Where:

dir[,dir,...]

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. All rights reserved.ARM DUI 0348C
Non-ConfidentialID101213