| |||
| Home > Using the ARM Compiler > armcc command syntax > Default object extension | |||
This option enables you to change the default extension for object files:
--default_extension extEnables you to change the extension for object files
from the default extension (.o) to that specified
by . The following
example creates an object file called exttest.obj,
instead of test.o:
armcc --default_extension obj -c test.c
The -o option
overrides this (see Specifying output format).
For example, the following command still gives the specified object
file the filename.o extension:
armcc --default_extension obj -o test.o -c test.c