--default_extension=ext
ext
This option enables you to change the filename extension for object files from the default extension (.o) to an extension of your choice.
.o
Where:
is the filename extension of your choice.
By default, the filename extension for object files is .o.
The following example creates an object file called test.obj, instead of test.o:
test.obj
test.o
armcc --default_extension=obj -c test.c
The -o filename option overrides this. For example, the following command results in an object file named test.o:
-o filename
filename
armcc --default_extension=obj -o test.o -c test.c