|Non-Confidential||PDF version||ARM DUI0472J|
|Home > Compiler Command-line Options > --reduce_paths, --no_reduce_paths|
Enables and disables the elimination of redundant path name information in file paths.
When elimination of redundant path name information is enabled, the compiler removes
sequences of the form xyz\.. from directory paths passed to the
operating system. This includes system paths constructed by the compiler itself, for
The removal of sequences of the form xyz\.. might not be valid if xyz is a link.
This option is effective on Windows systems only.
Windows systems impose a 260 character limit on file paths. Where path names exist whose
absolute names expand to longer than 260 characters, you can use the
--reduce_paths option to reduce absolute path name length by matching up
directories with corresponding instances of .. and eliminating the
directory/.. sequences in pairs.
ARM recommends that you avoid using long and deeply nested file paths, in preference to
minimizing path lengths using the
The default is
Compiling the file
from the directory
results in an actual path of
Compiling the same file from the same directory using the option
--reduce_paths results in an actual path of