29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Compiler</strong> Command-line Options<br />

See also<br />

• --asm on page 2-8<br />

• -S on page 2-80.<br />

2.1.68 -Jdir[,dir,...]<br />

This option adds the specified directory, or comma-separated list of directories, to the<br />

list of system includes.<br />

The RVCT31INC environment variable is set to the default system include path unless you<br />

use -J to override it. Angle-bracketed include files are searched for first in the list of<br />

system includes, followed by any include list specified with the option -I.<br />

Note<br />

On Windows systems, you must enclose RVCT31INC in double quotes if you specify this<br />

environment variable on the command line, because the default path defined by the<br />

variable contains spaces. For example:<br />

armcc -J"%RVCT31INC%" -c main.c<br />

Syntax<br />

-Jdir[,dir,...]<br />

Where:<br />

dir[,dir,...]<br />

is a comma-separated list of directories to be added to the list of<br />

system includes.<br />

At least one directory must be specified.<br />

When specifying multiple directories, do not include spaces<br />

between commas and directory names in the list.<br />

See also<br />

• -Idir[,dir,...] on page 2-46<br />

• --kandr_include on page 2-52<br />

• --preinclude=filename on page 2-75<br />

• --sys_include on page 2-86<br />

• Include files on page 2-13 in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

<strong>ARM</strong> DUI 0348A Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. 2-51<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!