我使用的编译环境是CCS5.2 ,在编译bios配置文件tcf后生成的cmd文件中连接了rts6740.lib,而我程序中同时使用了fastmath67x.lib中的一些数学函数。在link的时候提示重复定义了。
我在CCS3.3的时候是没有问题的。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好,具体是使用哪个函数时候提示重复定了,使用该函数库时,请注意下面的内容
To use the C67x FastMath library, specify it before the standard run-time-support library when linking your
program. For example:
cl6x -mv6700 --run_linker myprogram.obj --library=lnk.cmd --library=fastmath67x.lib --
library=rts6700.lib
If you are using Code Composer Studio, include the C6700 FastMath library in your project, and ensure it
appears before the standard run-time-support library in the Link Order tab in the Build Options dialog box.