Technical Support
On-Line Manuals
Compiler User Guide
Describes the armcc compiler command-line options.
7.1 -Aopt.
7.2 --allow_fpreg_for_nonfpdata, --no_allow_fpreg_for_nonfpdata.
7.3 --allow_null_this, --no_allow_null_this.
7.4 --alternative_tokens, --no_alternative_tokens.
7.5 --anachronisms, --no_anachronisms.
7.6 --apcs=qualifier...qualifier.
7.7 --arm.
7.8 --arm_only.
7.9 --asm.
7.10 --asm_dir=directory_name.
7.11 --autoinline, --no_autoinline.
7.12 --bigend.
7.13 --bitband.
7.14 --branch_tables, --no_branch_tables.
7.15 --brief_diagnostics, --no_brief_diagnostics.
7.16 --bss_threshold=num.
7.17 -c.
7.18 -C.
7.19 --c90.
7.20 --c99.
7.21 --code_gen, --no_code_gen.
7.22 --comment_section, --no_comment_section.
7.23 --compatible=name.
7.24 --compile_all_input, --no_compile_all_input.
7.25 --conditionalize, --no_conditionalize.
7.26 --cpp.
7.27 --cpp11.
7.28 --cpp_compat.
7.29 --cpu=list.
7.30 --cpu=name.
7.31 --create_pch=filename.
7.32 -Dname[(parm-list)][=def].
7.33 --data_reorder, --no_data_reorder.
7.34 --debug, --no_debug.
7.35 --debug_macros, --no_debug_macros.
7.36 --default_extension=ext.
7.37 --dep_name, --no_dep_name.
7.38 --depend=filename.
7.39 --depend_dir=directory_name.
7.40 --depend_format=string.
7.41 --depend_single_line, --no_depend_single_line.
7.42 --depend_system_headers, --no_depend_system_headers.
7.43 --depend_target=target.
7.44 --diag_error=tag[,tag,...].
7.45 --diag_remark=tag[,tag,...].
7.46 --diag_style=arm|ide|gnu compiler option.
7.47 --diag_suppress=tag[,tag,...].
7.48 --diag_suppress=optimizations.
7.49 --diag_warning=tag[,tag,...].
7.50 --diag_warning=optimizations.
7.51 --dollar, --no_dollar.
7.52 --dwarf2.
7.53 --dwarf3.
7.54 -E.
7.55 --echo.
7.56 --emit_frame_directives, --no_emit_frame_directives.
7.57 --enum_is_int.
7.58 --errors=filename.
7.59 --exceptions, --no_exceptions.
7.60 --exceptions_unwind, --no_exceptions_unwind.
7.61 --execute_only.
7.62 --extended_initializers, --no_extended_initializers.
7.63 --feedback=filename.
7.64 --float_literal_pools, --no_float_literal_pools.
7.65 --force_new_nothrow, --no_force_new_nothrow.
7.66 --forceinline.
7.67 --fp16_format=format.
7.68 --fpmode=model.
7.69 --fpu=list.
7.70 --fpu=name.
7.71 --friend_injection, --no_friend_injection.
7.72 -g.
7.73 --global_reg=reg_name[,reg_name,...].
7.74 --gnu.
7.75 --guiding_decls, --no_guiding_decls.
7.76 --help.
7.77 -Idir[,dir,...].
7.78 --ignore_missing_headers.
7.79 --implicit_include, --no_implicit_include.
7.80 --implicit_include_searches, --no_implicit_include_searches.
7.81 --implicit_key_function, --no_implicit_key_function.
7.82 --implicit_typename, --no_implicit_typename.
7.83 --info=totals.
7.84 --inline, --no_inline.
7.85 --integer_literal_pools, --no_integer_literal_pools.
7.86 --interface_enums_are_32_bit.
7.87 --interleave.
7.88 -Jdir[,dir,...].
7.89 --kandr_include.
7.90 -Lopt.
7.91 --library_interface=lib.
7.92 --library_type=lib.
7.93 --liclinger=seconds.
7.94 --link_all_input, --no_link_all_input.
7.95 --list.
7.96 --list_dir=directory_name.
7.97 --list_macros.
7.98 --littleend.
7.99 --locale=lang_country.
7.100 --long_long.
7.101 --loop_optimization_level=opt.
7.102 --loose_implicit_cast.
7.103 --lower_ropi, --no_lower_ropi.
7.104 --lower_rwpi, --no_lower_rwpi.
7.105 -M.
7.106 --md.
7.107 --message_locale=lang_country[.codepage].
7.108 --min_array_alignment=opt.
7.109 --mm.
7.110 --multibyte_chars, --no_multibyte_chars.
7.111 --multifile, --no_multifile.
7.112 --multiply_latency=cycles.
7.113 --narrow_volatile_bitfields.
7.114 --nonstd_qualifier_deduction, --no_nonstd_qualifier_deduction.
7.115 -o filename.
7.116 -Onum.
7.117 --old_specializations, --no_old_specializations.
7.118 --old_style_preprocessing.
7.119 --omf_browse.
7.120 --ool_section_name, --no_ool_section_name.
7.121 -Ospace.
7.122 -Otime.
7.123 --output_dir=directory_name.
7.124 -P.
7.125 --parse_templates, --no_parse_templates.
7.126 --pch.
7.127 --pch_dir=dir.
7.128 --pch_messages, --no_pch_messages.
7.129 --pch_verbose, --no_pch_verbose.
7.130 --pending_instantiations=n.
7.131 --phony_targets.
7.132 --pointer_alignment=num.
7.133 --preinclude=filename.
7.134 --preprocess_assembly.
7.135 --preprocessed.
7.136 --protect_stack, --no_protect_stack.
7.137 --reassociate_saturation, --no_reassociate_saturation.
7.138 --reduce_paths, --no_reduce_paths.
7.139 --remarks.
7.140 --remove_unneeded_entities, --no_remove_unneeded_entities.
7.141 --restrict, --no_restrict.
7.142 --retain=option.
7.143 --rtti, --no_rtti.
7.144 --rtti_data, --no_rtti_data.
7.145 -S.
7.146 --share_inlineable_strings, --no_share_inlineable_strings.
7.147 --show_cmdline.
7.148 --signed_bitfields, --unsigned_bitfields.
7.149 --signed_chars, --unsigned_chars.
7.150 --split_ldm.
7.151 --split_sections.
7.152 --strict, --no_strict.
7.153 --strict_warnings.
7.154 --string_literal_pools, --no_string_literal_pools.
7.155 --sys_include.
7.156 --thumb.
7.157 --trigraphs, --no_trigraphs.
7.158 --type_traits_helpers, --no_type_traits_helpers.
7.159 -Uname.
7.160 --unaligned_access, --no_unaligned_access.
7.161 --use_frame_pointer, --no_use_frame_pointer.
7.162 --use_pch=filename.
7.163 --using_std, --no_using_std.
7.164 --version_number.
7.165 --vfe, --no_vfe.
7.166 --via=filename.
7.167 --vla, --no_vla.
7.168 --vsn.
7.169 -W.
7.170 --wchar, --no_wchar.
7.171 --wchar16.
7.172 --wchar32.
7.173 --whole_program.
7.174 --wrap_diagnostics, --no_wrap_diagnostics.
Related Knowledgebase Articles
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2018 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.