您的位置:首页 > 其它

CCS3.3 warning: entry-point symbol other than "_c_int00"specified:(

2014-06-28 16:12 316 查看
warning: entry-point symbol other than "_c_int00" specified:  "code_start"

解决方法是:

在编译选项里面link标签页,把Code Entry Point(-e)编辑框里面的code_start删除,就不会产生该警告了。

编译选项位置:Project  -》  Build Options —》Linker —》 Base —》 Code
Entry Point(-e):空着

原因:

1.在“TMS320C6000优化汇编手册”第五章“链接C/C++代码”有一段关于_c_int00符号的说明。它是运行支持库RTS.lib包含的一个重要函数。如果Linker选项使用-c或-cr选项_c_int00被自动定义为程序的入口点。消除警告的方法在 Linker选项下面选择No Autoinitialization.

但是该解决方法处理后,会出现另外的错误,暂不明为何。

2.官方的文档《2802x C/C++ Header Files and Peripheral Examples Quick Start》中有这样一段 When I build the examples, the linker outputs the following: warning: entry point other than _c_int00 specified. What does this mean? This warning is given when a symbol other then
_c_int00 is defined as the code entry point of the project. For these examples, the symbol code_start is the first code that is executed after exiting the boot ROM code and thus is defined as the entry point via the –e linker option. This symbol is defined
in the DSP2802x_CodeStartBranch.asm file. The entry point symbol is used by the debugger and by the hex utility. When you load thecode, CCS will set the PC to the entry point symbol. By default, this is the _c_int00 symbol which marks the start of the C initialization
routine. For the DSP2802x examples,the code_start symbol is used instead. Refer to the source code for more information. entry point符号是debugger所使用的。程序连接时已经制定了一个而程序的文件中也定义了一个

部分答案:http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/t/29034.aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐