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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Compiler Command-line Options<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 results<br />

in an actual path of<br />

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

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

• --project=filename, --no_project on page 2-107<br />

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

2.1.139 --relaxed_ref_def, --no_relaxed_ref_def<br />

This option permits multiple object files to use tentative definitions of global variables.<br />

Some traditional programs are written using this declaration style.<br />

Usage<br />

This option is primarily provided for compatibility with GNU C. It is not recommended<br />

for new application code.<br />

2-110 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!