Technical Support
On-Line Manuals
Compiler Reference Guide
Version 6.15
Reads a list of armclang options from a file.
@file
file
Where file is the name of a file containing armclang options to include on the command line.
The options in the specified file are inserted in place of the @file option.
Use whitespace or new lines to separate options in the file. Enclose strings in single or double quotes to treat them as a single word.
You can specify multiple @file options on the command line to include options from multiple files. Files can contain more @file options.
If any @file option specifies a non-existent file or circular dependency, armclang exits with an error.
armclang
To use Windows-style file paths on the command-line, you must escape the backslashes. For example:
-I"..\\my libs\\".
-I"..\\my libs\\"
Consider a file options.txt with the following content:
options.txt
-I"../my libs/" --target=aarch64-arm-none-eabi -mcpu=cortex-a57
Compile a source file main.c with the following command line:
main.c
armclang @options.txt main.c
This command is equivalent to the following:
armclang -I"../my libs/" --target=aarch64-arm-none-eabi -mcpu=cortex-a57 main.c
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.