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

📄 st20cc.cfg

📁 flash programming STI 5.5.1.4 DCU3
💻 CFG
字号:
## commandline arguments:
## 1. actual commandline option (no -)
## 2. Number of args allowed
##    args means command has arguments
##    no_args means command has no arguments
## 3. Help type
##    help_all means appears on small help page
##    help_long_and_ext appears on extended help page
##    help_extended shown only as a hidden option
## 4. Help string
## 5,6,7,8 Are all of form "tool=option_to_pass" (again no '-' on option unless it needs '--' when one '-' is used)
##    tool= one of edg (C++ and C), edg_c (C only) edg_cpp (C++ only) compiler, linker or librarian

commandline ("cpp",                  no_args, help_long_and_ext, "allow C++ style // comments in compiler",                     "edg=-cppc", "compiler=cppc");
commandline ("display-error-number", no_args, help_long_and_ext, "show EDG error numbers",                                      "edg=-display_error_number");
commandline ("exceptions",           no_args, help_long_and_ext, "allow C++ exception handling",                                "edg_cpp=-exceptions", "linker=p\"_ST_exceptions=1\"");

## os20 debug-runtime changes providing link-time enabling of os20 debug features.
commandline ("debug-runtime",        no_args, help_long_and_ext, "link in os20 debug library",                                  "linker=p\"_ST_debug_runtime=1\"");

commandline ("no-rtti",              no_args, help_long_and_ext, "disallow C++ runtime type information",                       "edg_cpp=-no_rtti");
commandline ("place-exact",          no_args, help_long_and_ext, "place sections in the order they appear in .cfg file",        "linker=PLACE");
commandline ("place-zero-in-bss",    no_args, help_long_and_ext, "place zero-initialized data in bss",                          "compiler=place-zero-in-bss");
commandline ("rtti",                 no_args, help_long_and_ext, "allow C++ runtime type information",                          "edg_cpp=-rtti");
commandline ("strict-warnings",      no_args, help_long_and_ext, "strict C++ but with warnings",                                "edg=-strict_warnings");
commandline ("strict",               no_args, help_long_and_ext, "strict C++",                                                  "edg=-strict");
commandline ("wc",                   no_args, help_long_and_ext, "suppress nested comment warnings",                            "compiler=wc");
commandline ("warn-start",           no_args, help_long_and_ext, "warn if startup or shutdown functions are unused/missing",    "linker=WSTART");
commandline ("warn-unplaced",        no_args, help_long_and_ext, "warn about all unplaced sections (not just user ones)",       "linker=WUNPLACED");
commandline ("warn-unused",          no_args, help_long_and_ext, "warn if unused functions are found",                          "compiler=UF", "linker=UF");

## suffix options for input to tools

## main C compiler
in_suffices.cfile=".c .C .icc .h .H"
## C++ processor
in_suffices.cppfile=".cxx .cpp .CXX .CPP"
## linker objects
in_suffices.linkfile=".TCO .tco .TC1 .tc1 .TC2 .tc2"
## linker libaries
in_suffices.libfile=".LIB .lib"
## assembler
in_suffices.asmfile=".s .S"

spaceid=0
include common.cfg

⌨️ 快捷键说明

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