[技术求助] 这个警告是什么原因啊

[复制链接]
1158|9
 楼主| heweibig 发表于 2014-10-14 20:08 | 显示全部楼层 |阅读模式
>> warning: entry point other than _c_int00 specified
jiahy 发表于 2014-10-14 20:09 | 显示全部楼层
自己到网上查一下   很多特定的问题大家其实也没遇到过
wuhany 发表于 2014-10-14 20:13 | 显示全部楼层
从字面上讲, 是个不合法的程序入口点
wuhany 发表于 2014-10-14 20:13 | 显示全部楼层
估计是编译环境和配置方面的问题, 或者启动文件弄错了
zhenykun 发表于 2014-10-14 20:15 | 显示全部楼层
这个真不好说,最好看看你的程序再说吧
mmuuss586 发表于 2014-10-14 20:16 | 显示全部楼层
什么MCU或者软件的警告;
lizye 发表于 2014-10-14 20:17 | 显示全部楼层
如果在纯汇编的程序下如果LINKER的autoint model设置不对会出现,但是TI给的例子中并不是纯汇编的程序,但是也出现这个警告,关键问题就出现在LINKER下的CODE ENTRY POINT 这个选项上,他设置了一个启动地址,并且这个启动地址不是_c_int00,其实默认不添就是从这个地方启动的,这段是TI帮助里的:The memory address at which a program begins executing is called the entry point. When a loader loads a program into target memory, the program counter (PC) must be initialized to the entry point; the PC then points to the beginning of the program.
The linker can assign one of four values to the entry point. These values are listed below in the order in which the linker tries to use them. If you use one of the first three values, it must be an external symbol in the symbol table.
?The value specified by the -e option. The syntax is:
-e global_symbol
where global_symbol defines the entry point and must appear as an external symbol in one of the input files.
?The value of symbol _c_int00 (if present). The _c_int00 symbol must be the entry point if you are linking code produced by the C compiler.
?The value of symbol _main (if present)
?0 (default value)
This example links file1.obj and file2.obj. The symbol begin is the entry point; begin must be defined as external in file1 or file2.
cl2000 -v28 -z -e begin file1.obj file2.obj
lizye 发表于 2014-10-14 20:17 | 显示全部楼层

        其实这个地址如果用debug里的restart 或 reset cpu就可以看出来了,restart后就会将PC设置到这个地址,但是DSP里的寄存器不会变化,但是RESET CPU则DSP完全重新启动了。
 楼主| heweibig 发表于 2014-10-14 20:19 | 显示全部楼层
我慢慢看看
 楼主| heweibig 发表于 2014-10-14 20:19 | 显示全部楼层
先结贴了啊,多谢大家
您需要登录后才可以回帖 登录 | 注册

本版积分规则

869

主题

13089

帖子

7

粉丝
快速回复 在线客服 返回列表 返回顶部