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 />

Note<br />

It is recommended that you avoid using long and deeply nested file paths, in preference<br />

to minimizing path lengths using the --reduce_paths option.<br />

Default<br />

The default is --no_reduce_paths.<br />

Example<br />

Compiling the file<br />

..\..\..\xyzzy\xyzzy\objects\file.c<br />

from the directory<br />

\foo\bar\baz\gazonk\quux\bop<br />

results in an actual path of<br />

\foo\bar\baz\gazonk\quux\bop\..\..\..\xyzzy\xyzzy\objects\file.o<br />

Compiling the same file from the same directory using the option --reduce_paths<br />

results in an actual path of<br />

\foo\bar\baz\xyzzy\xyzzy\objects\file.c<br />

2.1.101 --reinitialize_workdir<br />

This option enables you to reinitialize the project template working directory set using<br />

--workdir.<br />

When the directory set using --workdir refers to an existing working directory<br />

containing modified project template files, specifying this option causes the working<br />

directory to be deleted and recreated with new copies of the original project template<br />

files.<br />

Restrictions<br />

This option must be used in combination with the --workdir option.<br />

See also<br />

• --[no_]project=filename on page 2-74<br />

• --workdir=directory on page 2-95.<br />

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

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!