Keil™, An ARM® Company

RealView Compiler Reference Guide

Technical Support

On-Line Manuals

RealView Compiler Reference Guide

Preface
Introduction
Compiler Command-line Options
Command-line options
‑Aopt
‑‑[no_]alternative_tokens
‑‑[no_]anachronisms
--apcs=qualifer...qualifier
‑‑arm
‑‑asm
‑‑[no_]autoinline
‑‑bigend
‑‑[no_]brief_diagnostics
--bss_threshold=num
‑c
‑C
‑‑c90
‑‑c99
‑‑[no_]code_gen
--[no_]compile_all_input
‑‑cpp
‑‑create_pch=filename
‑Dname[(parm-list)][=def]
‑‑[no_]data_reorder
‑‑[no_]debug
‑‑[no_]debug_macros
‑‑default_extension=ext
‑‑[no_]dep_name
‑‑depend=filename
‑‑depend_format=string
--[no_]depend_system_headers
‑‑device=list
‑‑device=name
--device_opt=option
‑‑diag_error=tag[,tag,...]
‑‑diag_remark=tag[,tag,... ]
‑‑diag_style={arm|ide|gnu}
‑‑diag_suppress=tag[,tag,...]
--diag_suppress=optimizations
‑‑diag_warning=tag[,tag,...]
--diag_warning=optimizations
‑‑[no_]dollar
‑‑dwarf2
‑‑dwarf3
‑E
‑‑enum_is_int
‑‑errors=filename
‑‑[no_]exceptions
‑‑[no_]exceptions_unwind
‑‑[no_]export_all_vtbl
‑‑[no_]export_defs_implicitly
--[no_]extended_initializers
‑‑feedback=filename
--[no_]force_new_nothrow
‑‑forceinline
‑‑fpmode=model
‑‑fpu=list
‑‑fpu=name
‑‑[no_]friend_injection
‑‑gnu
‑‑[no_]guiding_decls
‑‑help
‑‑[no_]hide_all
‑Idir[,dir,...]
‑‑[no_]implicit_include
--[no_]implicit_include_searches
‑‑[no_]implicit_typename
‑‑info=totals
‑‑[no_]inline
‑‑interleave
‑Jdir[,dir,...]
‑‑kandr_include
‑Lopt
‑‑library_interface=lib
--library_type=lib
‑‑list
‑‑littleend
‑‑locale=lang_country
‑‑loose_implicit_cast
‑‑[no_]lower_ropi
‑‑[no_]lower_rwpi
‑M
‑‑md
‑‑message_locale=lang_country[.codepage]
‑‑min_array_alignment=opt
‑‑[no_]multibyte_chars
‑‑[no_]multifile
‑‑[no_]nonstd_qualifier_deduction
‑o filename
‑Onum
‑‑[no_]old_specializations
-‑omf_browse
‑Ospace
‑Otime
‑‑[no_]parse_templates
‑‑pch
‑‑pch_dir=dir
‑‑[no_]pch_messages
‑‑[no_]pch_verbose
‑‑pending_instantiations=n
‑‑pointer_alignment=num
--[no_]project=filename
‑‑preinclude=filename
--[no_]reduce_paths
--reinitialize_workdir
‑‑remarks
‑‑[no_]restrict
‑‑[no_]rtti
‑S
‑‑[un]signed_bitfields
‑‑[un]signed_chars
‑‑show_cmdline
‑‑split_ldm
‑‑split_sections
‑‑[no_]strict
‑‑strict_warnings
‑‑sys_include
‑‑thumb
‑Uname
‑‑[no_]unaligned_access
‑‑use_pch=filename
‑‑[no_]using_std
‑‑[no_]vfe
‑‑via=filename
--[no_]vla
‑‑vsn
‑W
--wchar16
--wchar32
--workdir=directory
‑‑[no_]wrap_diagnostics
Language Extensions
Compiler-specific Features
C and C++ Implementation Details
Via File Syntax
Standard C Implementation Definition
Standard C++ Implementation Definition
C and C++ Compiler Implementation Limits

Compiler Command-line Options

Chapter 2. Compiler Command-line Options

Table of Contents

2.1. Command-line options
2.1.1. ‑Aopt
2.1.2. ‑‑[no_]alternative_tokens
2.1.3. ‑‑[no_]anachronisms
2.1.4. --apcs=qualifer...qualifier
2.1.5. ‑‑arm
2.1.6. ‑‑asm
2.1.7. ‑‑[no_]autoinline
2.1.8. ‑‑bigend
2.1.9. ‑‑[no_]brief_diagnostics
2.1.10. --bss_threshold=num
2.1.11. ‑c
2.1.12. ‑C
2.1.13. ‑‑c90
2.1.14. ‑‑c99
2.1.15. ‑‑[no_]code_gen
2.1.16. --[no_]compile_all_input
2.1.17. ‑‑cpp
2.1.18. ‑‑create_pch=filename
2.1.19. ‑Dname[(parm-list)][=def]
2.1.20. ‑‑[no_]data_reorder
2.1.21. ‑‑[no_]debug
2.1.22. ‑‑[no_]debug_macros
2.1.23. ‑‑default_extension=ext
2.1.24. ‑‑[no_]dep_name
2.1.25. ‑‑depend=filename
2.1.26. ‑‑depend_format=string
2.1.27. --[no_]depend_system_headers
2.1.28. ‑‑device=list
2.1.29. ‑‑device=name
2.1.30. --device_opt=option
2.1.31. ‑‑diag_error=tag[,tag,...]
2.1.32. ‑‑diag_remark=tag[,tag,... ]
2.1.33. ‑‑diag_style={arm|ide|gnu}
2.1.34. ‑‑diag_suppress=tag[,tag,...]
2.1.35. --diag_suppress=optimizations
2.1.36. ‑‑diag_warning=tag[,tag,...]
2.1.37. --diag_warning=optimizations
2.1.38. ‑‑[no_]dollar
2.1.39. ‑‑dwarf2
2.1.40. ‑‑dwarf3
2.1.41. ‑E
2.1.42. ‑‑enum_is_int
2.1.43. ‑‑errors=filename
2.1.44. ‑‑[no_]exceptions
2.1.45. ‑‑[no_]exceptions_unwind
2.1.46. ‑‑[no_]export_all_vtbl
2.1.47. ‑‑[no_]export_defs_implicitly
2.1.48. --[no_]extended_initializers
2.1.49. ‑‑feedback=filename
2.1.50. --[no_]force_new_nothrow
2.1.51. ‑‑forceinline
2.1.52. ‑‑fpmode=model
2.1.53. ‑‑fpu=list
2.1.54. ‑‑fpu=name
2.1.55. ‑‑[no_]friend_injection
2.1.56. ‑‑gnu
2.1.57. ‑‑[no_]guiding_decls
2.1.58. ‑‑help
2.1.59. ‑‑[no_]hide_all
2.1.60. ‑Idir[,dir,...]
2.1.61. ‑‑[no_]implicit_include
2.1.62. --[no_]implicit_include_searches
2.1.63. ‑‑[no_]implicit_typename
2.1.64. ‑‑info=totals
2.1.65. ‑‑[no_]inline
2.1.66. ‑‑interleave
2.1.67. ‑Jdir[,dir,...]
2.1.68. ‑‑kandr_include
2.1.69. ‑Lopt
2.1.70. ‑‑library_interface=lib
2.1.71. --library_type=lib
2.1.72. ‑‑list
2.1.73. ‑‑littleend
2.1.74. ‑‑locale=lang_country
2.1.75. ‑‑loose_implicit_cast
2.1.76. ‑‑[no_]lower_ropi
2.1.77. ‑‑[no_]lower_rwpi
2.1.78. ‑M
2.1.79. ‑‑md
2.1.80. ‑‑message_locale=lang_country[.codepage]
2.1.81. ‑‑min_array_alignment=opt
2.1.82. ‑‑[no_]multibyte_chars
2.1.83. ‑‑[no_]multifile
2.1.84. ‑‑[no_]nonstd_qualifier_deduction
2.1.85. ‑o filename
2.1.86. ‑Onum
2.1.87. ‑‑[no_]old_specializations
2.1.88. -‑omf_browse
2.1.89. ‑Ospace
2.1.90. ‑Otime
2.1.91. ‑‑[no_]parse_templates
2.1.92. ‑‑pch
2.1.93. ‑‑pch_dir=dir
2.1.94. ‑‑[no_]pch_messages
2.1.95. ‑‑[no_]pch_verbose
2.1.96. ‑‑pending_instantiations=n
2.1.97. ‑‑pointer_alignment=num
2.1.98. --[no_]project=filename
2.1.99. ‑‑preinclude=filename
2.1.100. --[no_]reduce_paths
2.1.101. --reinitialize_workdir
2.1.102. ‑‑remarks
2.1.103. ‑‑[no_]restrict
2.1.104. ‑‑[no_]rtti
2.1.105. ‑S
2.1.106. ‑‑[un]signed_bitfields
2.1.107. ‑‑[un]signed_chars
2.1.108. ‑‑show_cmdline
2.1.109. ‑‑split_ldm
2.1.110. ‑‑split_sections
2.1.111. ‑‑[no_]strict
2.1.112. ‑‑strict_warnings
2.1.113. ‑‑sys_include
2.1.114. ‑‑thumb
2.1.115. ‑Uname
2.1.116. ‑‑[no_]unaligned_access
2.1.117. ‑‑use_pch=filename
2.1.118. ‑‑[no_]using_std
2.1.119. ‑‑[no_]vfe
2.1.120. ‑‑via=filename
2.1.121. --[no_]vla
2.1.122. ‑‑vsn
2.1.123. ‑W
2.1.124. --wchar16
2.1.125. --wchar32
2.1.126. --workdir=directory
2.1.127. ‑‑[no_]wrap_diagnostics

This chapter lists the command‑line options accepted by the ARM compiler, armcc. It includes the following section:

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0376A