TI中文支持网
TI专业的中文技术问题搜集分享网站

求CMD下的语法格式文档

    新手, 最近看到CMD支持一些命令 比如 -u 什么的, 这个有没有文档说明一下。  如:

    -u _FXN_F_nop
    GBL_USERINITFXN = _FXN_F_nop;

    如果不太多的话, 回复时能够全贴进来就更好了。 

    多谢。 

    

lincoln1234 WANG:

请问一些这种的是不是和链接的参数是一个意思啊? 

比如我知道可能 -l 可以链接库, 

-l= filename Names an archive library or linker command filename as linker input

-u=symbol Places an unresolved external symbol into the output module's symbol table

是不是这样啊?

其他一些

Table 7-1. Linker Options SummaryOption Description Section-a Produces an absolute, executable module. This is the default; if neither -a nor -r is Section 7.4.1.1specified, the linker acts as if -a were specified.-abs Produces an absolute listing file Section 7.4.2-ar Produces a relocatable, executable object module Section 7.4.1.3–args Allocates memory to be used by the loader to pass arguments Section 7.4.3-b Disables merge of symbolic debugging information Section 7.4.4-c Autoinitializes variables at run time Section 7.4.5-cr Initializes variables at load time Section 7.4.5-e=global_symbol Defines a global symbol that specifies the primary entry point for the output module Section 7.4.6-f=fill_value Sets default fill values for holes within output sections; fill_value is a 32-bit constant Section 7.4.7-g=symbol Makes symbol global (overrides -h) Section 7.4.8-h Makes all global symbols static Section 7.4.9-heap= size Sets heap size (for the dynamic memory allocation in C) to size words and defines a Section 7.4.10global symbol that specifies the heap size. Default = 1K bytes-help or -? Displays information about syntax and available options –-I=pathname Alters library-search algorithms to look in a directory named with pathname before looking Section 7.4.11.1in the default location. This option must appear before the -l option.-j Disables conditional linking Section 7.4.12-l= filename Names an archive library or linker command filename as linker input Section 7.4.11-m=filename Produces a map or listing of the input and output sections, including holes, and places the Section 7.4.13listing in filename-o= filename Names the executable output module. The default filename is a.out.-priority Satisfies unresolved references by the first library that contains a definition for that symbol Section 7.4.20-r Produces a nonexecutable, relocatable output module Section 7.4.1.2-s Strips symbol table information and line number entries from the output module Section 7.4.15-stack= size Sets C system stack size to size words and defines a global symbol that specifies the Section 7.4.16stack size. Default = 1K bytes–trampolines Generates far call trampolines Section 7.4.17-u=symbol Places an unresolved external symbol into the output module's symbol table Section 7.4.18-w Displays a message when an undefined output section is created Section 7.4.19-x Forces rereading of libraries, which resolves back references Section 7.4.20–xml_link_info file Generates a well-formed XML file containing detailed information about the result of a link Section 7.4.21SPRU186P–October

是不是这篇文档TMS320C6000 Assembly Language Tools, 英文不好, 好多东西都不确定

赞(0)
未经允许不得转载:TI中文支持网 » 求CMD下的语法格式文档
分享到: 更多 (0)