8.14 --asm_dir=directory_name

Specifies a directory for disassembly output files created by the --asm and -S options.

Default

If the --asm_dir option is not used, disassembly output is placed in the directory specified by --output_dir, or if --output_dir is not specified, in the default location (for example, the current directory).

Note:

The --asm_dir option has no effect unless you also specify either the --asm or the -S options.

Example

armcc -c --output_dir=obj --asm f1.c f2.c --asm_dir=asm

Result:

asm/f1.s
asm/f2.s
obj/f1.o
obj/f2.o
Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.