⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sarm_c22.stp

📁 realview22.rar
💻 STP
📖 第 1 页 / 共 5 页
字号:

# 453 ; If the obj-location is selected as sub_dir, this specifies the name
# of the sub-directory.
obj_sub=D               \\ Sub-directory name for output (if not local) \
                        \C

# 712 ; Extra-args is used to add special compiler switches not controlled
# below.
extra_args=S    \\ Any extra compiler arguments to use \
                        \C ?* $VALUE

# 709 ; Extra arguments can be included in a file which is used as input
# to the command-line
file_args=F             \\ File containing additional arguments \
                        \C ?* --via $VALUE

# 613 ; The tool directory specified in the project or tool location file
# will be used to find the compiler. The name of the compiler is
# given in the tool location file. If you want to use a different
# location or name, you can set tool_path here.
tool_path=F(EXE)        \\ Pathname of compiler if different than tools \
                        \C ? $<EXE=$VALUE>

# 566 ; Preprocessor switches control the operation of the compiler when
# processing "#if" and "#include" directives. These can be used to control
# exactly how the source is compiled and where headers come from.
{.Preprocessor  \\ Preprocessor switches
  # 516 ; The include list contains the directories to search for include files
  # when compiling. The default is "." for quoted includes and the tool
  # path for <> includes.
  include=LD    \\ Include paths to search \
                        \C ?* -I$VALUE $<PRV=-I$VALUE>

  # 505 ;
  system_include=LD     \\ Include paths to search, ignore the built-in headers \
                        \C ?* -J$VALUE $<PRV=-J$VALUE>

  # 481 ;
  preprocess_only=B0     \\ Request preprocessing only \
            \C (,-E)

  # 651 ;
  keep_comments=B0       \\ Keep comments in pre-processed output (use with -E) \
            \C (,-C)

  # 601 ; The include rules specify whether to use Berkeley or Kernighan &
  # Ritchie search rules to locate included files.
  include_rules=K(Berkeley,Kernighan_and_Ritchie)0 \\ Search rules to use for includes (see --kandr_include) \
                        \C (,--kandr_include)

  # 705 ;
  include_paths=K(Standard,Same)0  \\ Setting to the Same treats both types of include identically (see --sys_include)\
            \C (,--sys_include)

  # 494 ; Defines symbol as a preprocessor macro, as if the following were at
  # the head of the source file:  #define symbol
  define=LS             \\ Define macro name as name or name=value \
                        \C ?* -D$VALUE

  # 556 ; Undefines symbol, as if the following were at the head of the source
  # file:  #undef symbol
  undefine=LS   \\ UnDefine macro names \
                        \C ?* -U$VALUE

  # 650 ;
  preinclude=S    \\ Include the source code of the indicated file at the beginning of the compilation \
            \C ?* --preinclude $VALUE

  # 671 ;
  {.Precompiled Headers    \\ Set precompiled header switches

    # 562 ;
    pch=K(disabled,enabled)0   \\ Automatically use and/or create a precompiled header file \
              \C (,--pch)

    # 445 ;
    create_pch=S    \\ Create a precompiled header file with the specified name \
              \C ?* --create_pch $VALUE

    # 504 ;
    use_pch=S    \\ Use a precompiled header file with the specified name \
              \C ?* --use_pch $VALUE

    # 649 ;
    pch_dir=S    \\ The directory in which to search and/or create a precompiled header file \
              \C ?* --pch_dir $VALUE

    # 412 ;
    pch_messages=K(disabled,enabled)0   \\ Control the display of a message indicating the use of a precompile header \
              \C (,--pch_messages)

    # 689 ;
    pch_verbose=K(disabled,enabled)0   \\ Display a message for each precompiled header file that could not be used \
              \C (,--pch_verbose)
  }

}

# 414 ; The listing switches control what kinds of output listings are created
# by the compiler or assembler.
{.Listings              \\ Listing controls
  # 401 ; Create a listing file. It will contain source interleaved with warning & 
  # error messages.
  interlist=K(disabled,enabled)0 \\ Create a listing file (DEPRECATED see --list)\
                        \C (,)

  # 591 ;
  listing=K(disabled,enabled)0   \\ Request listing output (see --list)\
            \C (,--list)

  # 407 ; When creating a listing file, list expanded source as seen by the 
  # compiler after preprocessing.
  source_expans=K(disabled,enabled)0 \\ List expanded source (DEPRECATED see --list -fu) \
                        \C (,)

  # 695 ; When creating a listing file, list the lines from include files.
  list_includes=K(none,local,global,local_and_global)0 \\ List include files (DEPRECATED see --list -fi, fj) \
                        \C (,,,)

  # 470 ; Optional file name for error output.
  error_file=F          \\ Error listing filename \
                        \C ?* --errors $VALUE
}

# 620 ; Error and Warning messages can be set for different levels of 
# information to be shown during compilation.
# The default behavior may depend upon the source language (flavor of C used)
# that is specified to the compiler.
{.Messages              \\ Control of errors/warnings and error-detection
  # 626 ;
  suppress_all=K(disabled,enabled)0 \\ Suppress all diagnostics \
            \C (,-W)

  # 575 ;
  suppress=S         \\ Suppress all diagnostic with the specified tags (comma-separated list)  \
            \C ?* --diag_suppress $VALUE

  # 604 ;
  remark=S           \\ Set diagnostic with the specified tags (comma-separated list) to a remark severity \
            \C ?* --diag_remark $VALUE

  # 493 ;
  warning=S          \\ Set diagnostic with the specified tags (comma-separated list) to a warning severity \
            \C ?* --diag_warning $VALUE

  # 474 ;
  error=S            \\ Set diagnostic with the specified tags (comma-separated list) to an error severity \
            \C ?* --diag_error $VALUE

  # 464 ;
  brief=K(disabled,enabled)0         \\ Enable or disable a mode in which a shorter form of diagnostic output is used \
            \C (,--brief_diagnostics)

  # 629 ;
  wrap=K(disabled,enabled)0          \\ Enable or disable a mode in which lengthy diagnostic output is wrapped \
            \C (,--wrap_diagnostics)
}

# 431 ; Compilation settings allow control of various compiler actions. Most of
# these will not need to be changed for normal development.
{.Compilation   \\ Control of compilation
  # 624 ; Select which compiler to use.
  compiler=K(ARM_C,Thumb_C,ARM_Cpp,Thumb_Cpp)0 \\ Select which compiler to use \
                        \C ($<SPC=0>,$<SPC=1> --thumb,$<SPC=2>,$<SPC=3> --thumb)

  # 522 ;
  checkonly=B0              \\ If set to true then only syntax checking occurs and no code is generated \
            \C (,--no_code_gen)

  # 632 ; Set endianness (byte sex) assumption for processor.
  endianness=K(default,big,little)0 \\ Select endianness, (see --bigend, --littleend) \
                        \C (,--bigend,--littleend)

  # 563 ; Produce information for debugging.
  generate_debug=K(default,disabled,enabled)0 \\ Generate debug information, (see -g, --no_debug) \
                        \C (,--no_debug,-g)

  # 480 ;
  supress_macro=K(default,disabled,enabled)0   \\ Suppress the inclusion of macros in debug data, (see --debug_macros, --no_debug_macros)  \
            \K Default, \
               Debug macros, \
               No debug macros \
            \C (,--debug_macro,--no_debug_macro)

  # 540 ; Format for debug information tables.
  debug_format=K(dwarf2)0 \\ Debug information table format, (see --dwarf2) \
                        \K Dwarf2 debug format \
                        \C (--dwarf2)

  # 473 ; Generate one ELF section per function.
  ELF_section_per_fn=K(disabled,enabled)0 \\ One ELF section per function, (see --split_sections) \
                        \C (,--split_sections)

  # 699 ; Determine how chars to be treated.
  # The default behavior may depend upon the source language (flavor of C used)
  # that is specified to the compiler.
  char=K(default,signed,unsigned)0 \\ Char handling, (see --signed_chars, --unsigned_chars) \
                        \K Use default value, \
                           Force signed, \
                           Force unsigned \
                        \C (,--signed_chars,--unsigned_chars)

  # 664 ; Treat enumerations as signed integers.
  enums_as_ints=K(disabled,enabled)0 \\ Treat enumerations as signed ints, (see --enum_is_int) \
                        \C (,--enum_is_int)

  # 392 ; Select how to handle floating-point processing.
  fp_processing=K(default,\
                  VFPv2,\
                  SoftVFP,\
                  SoftVFP+VFPv2,\
                  None)0 \\ Floating point processing, (see --fpu)\
                        \K Use default for the specified processor, \
                     Selects hardware vfpv2 - architecture vfpv2, \
                     Use software FP library with pure-endian doubles, \
                     Use software FP library with pure-endian doubles + VFP hardware - architecture vfpv2, \
                     Selects no FP option, \
                        \C (, \
                             --fpu VFPv2, \
                             --fpu SoftVFP, \
                             --fpu SoftVFP+VFPv2, \
                             --fpu None)

  # 551 ; These options control a variety of compiler features, including features
  # that make some checks more rigorous than usual. These additional checks 
  # can be an aid to portability and good coding practice. 
  {.Checking            \\ Controls rule checking during compilation
    # 663 ; Select flavor of C used.
    source_language=K(default,C90,CPlusPlus,ANSI,EmbeddedCPlusPlus,Strict)0 \\ Selects the source language used, (see --c90, --cpp) \
                        \K based on file extension, \
                        C (C90 ISO), \
                        C++ (ISO/IEC),\
                        DEPRECATED - use C (C90 ISO), \
                        DEPRECATED - use C++ (ISO/IEC), \
                        DEPRECATED - use the Strict_iso setting \
                        \C (,--c90,--cpp,-ansi,-cpp,-strict)

    # 521 ; Select strict.
    strict_iso=K(default,relaxed,strict,strictwarnings)0 \\ Selects strict ISO conformance, (see --no_strict, --strict, --strict_warnings) \
                        \K use the default value, \
                        Relaxed ISO standard conformance, \
                        Strict ISO standard conformance as errors, \
                        Strict ISO standard conformance as warnings \
                        \C (,--no_strict,--strict, --strict_warnings)

    # 517 ; Check for data flow anomalies. This will indicate when an
    # automatic variable could have been used before it has been assigned
    # a value. The check is pessimistic and will sometimes report an
    # anomaly where none exists.
    data_flow=K(disabled,enabled)0 \\ Check for data flow anomalies, (DEPRECATED see -fa) \
                        \C (,)

    # 719 ; Check for unused declarations, including those from standard headers.
    unused_declar=K(disabled,enabled)0 \\ Check for unused declarations, (DEPRECATED see -fv) \
                        \C (,)

    # 532 ; Enable all warnings normally suppressed by default with the exception of the
    # -fa, -fh, -fp and -fv checking options.
    enable_suppressed=K(disabled,enabled)0 \\ Enable all warnings normally suppressed by default, (DEPRECATED see -fx) \
                        \C (,)
  }

  # 584 ; Controls ARM Procedure Call Standard qualifiers
  {.APCS                \\ ARM Procedure Call Standard qualifiers
    # 482 ; Control whether software stack-checking is available in the
    # compiled code.
    stack_checking=K(default,disabled,enabled)0 \\ Use software stack-checking, (see --apcs) \
                        \K Use default, \
                           Force disabled, \
                           Force enabled \
                        \C (,--apcs $/noswstackcheck,--apcs $/swstackcheck)

    # 608 ; Control whether code is suitable for ARM/Thumb Interworking
    interworking=K(default,disabled,enabled)0 \\ Control ARM/Thumb interworking, (see --apcs) \
                        \K Use default, \
                           Force disabled, \
                           Force enabled \
                        \C (,--apcs $/nointerwork,--apcs $/interwork)

    # 586 ; 
    ropi=K(default,disabled,enabled)0 \\ Generate read-only position independent code, (see --apcs) \
                        \K Use default, \
                           Force disabled, \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -