8.197 -Warmcc,option[,option,...]

Enables normal compiler command-line options to be passed to the compiler in GCC emulation mode.

The options associated with -Warmcc are passed verbatim to the compiler, that is, without translation. These options also override any translation options that are specified.





is a normal ARM compiler option.


Use this option to take advantage of features specific to the ARM compilation tools when in GCC emulation mode.


In this example, -Warmcc enables the command-line options -A and -L to be used for passing options to the assembler and the linker without translation, while in GCC emulation mode.

armcc --translate_gcc --arm_linux_config_file=linux_config -o example.axf example.s -Warmcc,-A--predefine="my_variable SETA 20" -Warmcc,-L--inline
Related concepts
2.14 Using GCC fallback when building applications
Related reference
8.9 --arm_linux_config_file=path
8.1 -Aopt
8.112 -Lopt
8.178 --translate_g++
8.179 --translate_gcc
8.180 --translate_gld
Related information
--predefine directive assambler option
--inline, --no_inline linker option
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.