7.33 --default_extension=ext

Changes the filename extension for object files from the default extension (.o) to an extension of your choice.

Syntax

--default_extension=ext
Where:
ext
is the filename extension of your choice.

Default

By default, the filename extension for object files is .o.

Examples

The following example creates an object file called test.obj, instead of test.o:
armcc --default_extension=obj -c test.c

Note

The -o filename option overrides this. For example, the following command results in an object file named test.o:
armcc --default_extension=obj -o test.o -c test.c
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.