04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Compiler Command-line Options<br />

2.1.86 -Idir[,dir,...]<br />

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

list of places that are searched to find included files.<br />

If you specify more than one directory, the directories are searched in the same order as<br />

the -I options specifying them.<br />

Syntax<br />

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

Where:<br />

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

is a comma-separated list of directories to be searched for<br />

included files.<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 />

• -Jdir[,dir,...] on page 2-77<br />

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

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

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

• Header files on page 2-14 in the Compiler User Guide.<br />

2.1.87 --ignore_missing_headers<br />

This option instructs the compiler to print dependency lines for header files even if the<br />

header files are missing.<br />

Warning and error messages on missing header files are suppressed, and compilation<br />

continues where it would otherwise fail in this case.<br />

Usage<br />

This option is used for automatically updating makefiles. It is analogous to the GCC -MG<br />

command-line option.<br />

See also<br />

• --depend=filename on page 2-40<br />

• --depend_format=string on page 2-41<br />

2-72 Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. <strong>ARM</strong> DUI 0348C<br />

Non-Confidential,<br />

ID101213

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

Saved successfully!

Ooh no, something went wrong!