Datasheet
Via File Syntax
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. A-3
A.2 Syntax
Via files must conform to the following syntax rules:
• A via file is a text file containing a sequence of words. Each word in the text file
is converted into an argument string and passed to the tool.
• Words are separated by white space, or the end of a line, except in delimited
strings. For example:
-split -ropi -- Treated as two words
-split-ropi -- Treated as one word
• The end of a line is treated as white space. For example:
-split
-ropi
is equivalent to:
-split -ropi
• Strings enclosed in quotation marks ("), or apostrophes (') are treated as a single
word. Within a quoted word, an apostrophe is treated as an ordinary character.
Within an apostrophe delimited word, quote is treated as an ordinary character.
Quotation marks are used to delimit filenames or pathnames that contain spaces.
For example:
-libpath c:\Program Files\ARM\ADS\lib -- Three words
-libpath "c:\Program Files\ARM\ADS\lib" -- Two words
Apostrophes can be used to delimit words that contain quotes. For example:
-DNAME='"ARM Developer Suite"' -- One word
• Characters enclosed in parentheses are treated as a single word. For example:
-option(x, y, z) -- One word
-option (x, y, z) -- Two words
• Within quoted or apostrophe delimited strings, you can use a backslash (\)
character to escape the quote, apostrophe, and backslash characters.
• A word that occurs immediately next to a delimited word is treated as a single
word. For example:
-I"C:\Program Files\ARM\ADS\lib"
is treated as the single word:
-IC:\Program Files\ARM\ADS\lib