2.1.6. Specifying stdin input

Use minus (-) as the source filename to instruct the compiler to take input from stdin. The default compiler mode is C.

To terminate input, enter:

An assembly listing for the keyboard input is sent to the output stream after input has been terminated if both the following are true:

If you specify an output file with the -o option, an object file is written. If you specify the -E option, the preprocessor output is sent to the output stream. If you specify the -o- option, the output is sent to stdout.

Copyright © 2002-2010 ARM. All rights reserved.ARM DUI 0205J
Non-ConfidentialID101213