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

#include <br />

int f(short *a, short *b)<br />

{<br />

int i;<br />

int r = 0;<br />

for (i = 0; i < 100; i++)<br />

r=L_mac(r,a[i],b[i]);<br />

return r;<br />

}<br />

2.1.137 --reduce_paths, --no_reduce_paths<br />

This option enables or disables the elimination of redundant path name information in<br />

file paths.<br />

When elimination of redundant path name information is enabled, the compiler<br />

removes sequences of the form xyz\.. from directory paths passed to the operating<br />

system. This includes system paths constructed by the compiler itself, for example, for<br />

#include searching.<br />

Note<br />

The removal of sequences of the form xyz\.. might not be valid if xyz is a link.<br />

Mode<br />

This option is effective on Windows systems only.<br />

Usage<br />

Windows systems impose a 260 character limit on file paths. Where path names exist<br />

whose absolute names expand to longer than 260 characters, you can use the<br />

--reduce_paths option to reduce absolute path name length by matching up directories<br />

with corresponding instances of .. and eliminating the directory/.. sequences in pairs.<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 />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!